Home › Forums › Backend Issues (wp-admin) › Functions not reached in acf plugin › Reply To: Functions not reached in acf plugin
I can’t seem to re-open the topic so I hope you’ll see this.
I noticed that if I dump get_field in create_field 5 values are returned (as expected).
If I dump $field in load_value (just before the return) 5 values are returned (in the admin).
Can it be this function doesn’t work on the front-end ? If so how do I override the value ? I tried using acf/load_value but this didn’t work.
Can this be because my plugin loads before ACF (mine is called acf-city-selector, which loads before advanced-custom-fields) ?
If I dump get_field in header.php of a template only 3 values are returned.
Update_value I can’t seem to reach in any way.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.