Home › Forums › Front-end Issues › acf/update_value filter issues › Reply To: acf/update_value filter issues
So I guess it would be nice to know if the function is being executed at all – I usually do this by dropping something fairly identifiable into the first line of the function, like echo "ilovetroubleshooting";
, then I watch for that to appear on the page load when the filter should have executed.
Do you think that the add_filter()
definition is ok in page.php
? I wonder if it should go in functions.php
instead…
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.