Support

Account

Home Forums Bug Reports Hooking in save_post_{$post->post_type} and update_field Reply To: Hooking in save_post_{$post->post_type} and update_field

  • I think I found out (as an educated guess) what is happening… I’m hooking into WP’s stock save_post_{$post->post_type}

    But somewhere in there, ACF’s similar hook point fires up and tries to update the fields I’ve already updated in my own hook, with the values of the respective input fields (which are effectively empty) thus replacing my fields with an empty string…

    I somehow need to remove/prevent from within my hook ACF’s hook from firing up… How do I do that? I suppose remove_action(‘acf/save_post’) won’t be enough…