Home › Forums › General Issues › SAVE_POST action problem › Reply To: SAVE_POST action problem
The problem is that ACF saves values on the “save_post” hook and in\f you look at where this is done, line 3581 of /wp-includes/post.php, you’ll see that the action “save_post_{$post->post_type}” happens before “save_post”.
You need to use either “acf/save_post” or “save_post” with a priority > 10
If you want to use this hook then you’d need to look in $_POST[‘acf’] to get the values.
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.