Support

Account

Home Forums General Issues acf/save_post only runs after ACF saves the $_POST['acf'] data

Unread

acf/save_post only runs after ACF saves the $_POST['acf'] data

  • In documentation mentioned that

    // run before ACF saves the $_POST['acf'] data
    add_action('acf/save_post', 'my_acf_save_post', 1);
    // run after ACF saves the $_POST['acf'] data
    add_action('acf/save_post', 'my_acf_save_post', 20);
    

    But actually it all runs after values are saved as action called after post update process.
    core/input.php line 383

    // hook for 3rd party customization
    do_action('acf/save_post', $post_id);
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.