Home › Forums › General Issues › update_post hook question › Reply To: update_post hook question
The problem is likely do to the fact that the second field is saved after the field named doctors_lname. So you are getting the new value for this field and the old value for doctors_fname.
Try using acf/save_post with a priority of > 10 so that both fields are saved before you attempt to use them.
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.