Home › Forums › General Issues › “meta_query” requires manual update in the admin › Reply To: “meta_query” requires manual update in the admin
now I am beginning to understand.
When using update_field() for a field that does not have a value yet you must use the field key and not the field name. See the section on using field keys in the documentation for an explanation. https://www.advancedcustomfields.com/resources/update_field/
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.