Home › Forums › General Issues › update_field not updating fiel › Reply To: update_field not updating fiel
update_field() returns the meta ID if the meta key (field name) did not exist, it returns true if the value is altered, it returns false if the call fails or the value is not altered.
This is the same as the return all WP meta update functions. ACF simply returns what is returned by these functions.
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.