Home › Forums › General Issues › Issues with get_field on save_post hook › Reply To: Issues with get_field on save_post hook
Don’t know if this will help you or not, but you could dry clearing the cache before trying to get the values. Do acf_delete_cache();
The acf cache is just an extension of the wp cache.
I’ve never had a problem getting new values after they were updated, so I can only think that it is definitely something in once of the caching systems that you’re using. From what I know of W3TC it replaces the WP DB cache with it’s own system. I’ve never used W3TC.
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.