Home › Forums › ACF PRO › Previous and next get fileds › Reply To: Previous and next get fileds
the acf/save_post hook can be used https://www.advancedcustomfields.com/resources/acf-save_post/. With a priority < 10 your action will run before new values are saved. You can get the current values of the fields using things like get_field()
. You can then look at the values submitted by looking in $_POST['acf']
or you can have another action run with a priority > 10 if you wan to use acf functions like get_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.