Home › Forums › Backend Issues (wp-admin) › update_field is not working in action hook › Reply To: update_field is not working in action hook
currently at priority 20
i can see this key inside postmeta table in mysql, it should be registered. i tried to access permalink for manual execution, it filled the field then set back to draft then publish again, still doesn’t update the field. it has to be registered, i can see content in it.
the field is added together with all other fields (total 15 fields) in a separate php file. the php file is loaded in the beginning inside functions.php
this is the only field that has update_field. the rest of the fields are user input and get_fields are working find from inside action hook function
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.