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)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.