Home › Forums › General Issues › function called before update_field › Reply To: function called before update_field
What filter are you trying?
If you use acf/update_value then $value will be the new value and the old value will be in the DB.
If you use acf/save_post with a priority of <10 then the old value is in the DB and the new value is in $_POST[‘acf’][$field_key]
ACF does not have the old value, nor care what it is, when saving. ACF will never have the old value when updating a field.
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.