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!