• We have a custom post type with ACF fields that won’t push to SF when a post is updated programmatically.

    I’ve read through the forum here about similar situations and nothing has worked. If I update the post in the WP backend editor, the data gets pushed to SF properly via the Fieldmap that is set up.

    When we update the post in the code, we’re using update_post_meta and then save_post. Turning on debugging shows nothing because the action isn’t even triggered. We’ve followed this https://developer.www.ads-software.com/reference/hooks/save_post/ which is supposed to trigger the sync.

    We’re using the same Fieldmap to pull data from SF to create the custom posts and everything works correctly on that side. Updating the post on the WP side to push to SF does not work despite our best efforts at trying different routes to get this working.

    The Fieldmap is set up to trigger on WordPress Update, SF Create and Update and does not Process Asynchronously.

    Do you have any suggestions on how to get this working?

  • The topic ‘Custom Post Type not Pushing to SF on update_post_meta’ is closed to new replies.