Trigger 'save unserialized fields' when using 'update_post_meta'
-
Hi,
I use the option to save meta-boxes as unserialized fields by adding the ‘wck_cfc_unserialize_fields_’-filter in my functions.php.
All works fine if i add or update meta-fields in the adminpanel and hit ‘Save changes’. But when i use ‘update_post_meta’ in my code to add or update metafields the unserialized-function isn’t triggered.
Is it possible to trigger this functionality manually from within my code? I need it to add/update metafields after submitting a form.
https://www.ads-software.com/plugins/wck-custom-fields-and-custom-post-types-creator/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Trigger 'save unserialized fields' when using 'update_post_meta'’ is closed to new replies.