So the title might not be entirely clear. I was wondering if, while in the editor (classic), it is possible to retrieve a JS object containing all current values of all fields on the current admin screen. Basically the equivalent of what is returned by get_fields(), but run in the client and gets everything on the screen vs database. The goal is to enable real-time previews on a JS frontend by storing all of the pages field values via a storage API such as IndexedDB. Is this currently possible?
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users