Home › Forums › ACF PRO › Action hook when specific field changes › Reply To: Action hook when specific field changes
Hi @giu-tae-kim
I believe your code should be working. Just take attention to advanced custom fields like post object, gallery, repeater, etc as the returned data from the database sometimes different from the posted one, even though they are actually referring to the same value.
Regarding your second question, yes, I think you can use the get_fields()
function instead.
I hope this helps 🙂
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.