Why is wp api returning old acf values?

I have a list of custom post types (Events) with ACF fields for start and end dates that I’m getting using WP-API. I’m using the fetch api to make the calls. I have the acf-to-rest-api plugin installed and activated. I’m using the lastest versions of everything.

I changed the start and end date fields of an event after it had been created. The new values are displayed in the post editor, and when I dig into the actual database it’s got the correct updated values. But the WP-API call is return the old value. What could be going on?

I’ve tried clearing all caches I could think of, messed around with transients… anything else?

Read more here:: Why is wp api returning old acf values?

Leave a Reply

Your email address will not be published. Required fields are marked *