Support

Account

Home Forums Backend Issues (wp-admin) Draft and Pending Review Not Saving Reply To: Draft and Pending Review Not Saving

  • Hi,

    Hmm i think i misunderstood this topic then!

    For me the problem was that on the frontend people fill in a form and the data entered in the form will be saved in a CPT, that CPT is then on “Pending”.

    It needs to be reviewed before it can be published and a administrator will review the new post in the CPT, it is possible the administrator can edit some data, if that happens and the administrator Publishes the post the edited data didnt get saved!

    For me the fix was easy by adding:
    do_action('acf/save_post', $post_id);
    at the part where i was updating the post :), to bad this doesn’t happen automatically by ACF. (Still took me a while to find out :p)