Home › Forums › Feature Requests › Automatic Synchronized Json › Reply To: Automatic Synchronized Json
In the end I settled with only using the acf-json files (https://www.advancedcustomfields.com/resources/local-json/). In the hierarchy of ways that fields can be added, ACF prefers the acf-json files above the fields in the database.
I don’t do any synchronisation between environments at all anymore. The JSON files are being distributed to testing and live environments through git.
The whole ACF admin area is hidden on environments other then the local development environments. This way fields can only be added or edited on development environments, if this could also be done on other environments, the changes would be overwritten upon a git update.
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!
You can leverage your PHP skills to build custom blocks with ACF Blocks, without the need to learn JavaScript. See how in our latest video: https://t.co/WKhngONirk
— Advanced Custom Fields (@wp_acf) May 17, 2022
© 2022 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.