Home › Forums › General Issues › Saving data with update_field not updating user field in backend › Reply To: Saving data with update_field not updating user field in backend
I’ve looked over your code and I don’t see anything wrong with it, given what I see.
Are you interacting with this field before the code you’ve given? Are you using get_post_meta() or any function that would cause WP to query the meta values for this field?
If you are you could be having issues with the WP meta cache. Try clearing the cache before the above code
wp_cache_delete($post_id, 'post_meta');
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.