• Resolved joshuairl

    (@joshuairl)


    Trying to use it like this:
    update_post_meta( $post_id, ‘wpcf-my_field’, “testing this out” );

    using a custom save_post hook and it’s emptying the field.

    If I abort right after I do the update_post_meta it’s saving to db…

    Is there a way to tie into the wpcf save_post hook so that it doesn’t override my update?

    https://wordpress.org/plugins/types/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to programmatically update a wpcf- custom field for a post?’ is closed to new replies.