Home › Forums › ACF PRO › Action hook when specific field changes › Reply To: Action hook when specific field changes
Hi again. Many thanks but sadly I have some others questions….
1) Inside the ‘acf/save_post’ hook the statement…
$_POST['acf']['field_abc123'];
… retrieve the new posted value of a certain field.
Consider if the admin doesn’t write any new data inside that field in that post saving… that post value would fall back to the old posted value, or it will be simply empty?
2) What do you mean that the gallery field would not return what I expect? Is that
inconsistency normal?
Many thanks!
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.