Home › Forums › Backend Issues (wp-admin) › Edits to Field Groups Synced Through JSON › Reply To: Edits to Field Groups Synced Through JSON
I think what you want to do is to add a load point to load json files from the plugin and here you want a priority of > 10 to allow the acf-json folder in the theme to be loaded first. This will mean that the JSON file from the plugin will only be loaded if that JSON file does not exist in the theme. Create an acf-json folder in the theme folder. When you sync and then save the field group it will save it to the theme folder and override the json file in the plugin. But doing this will also mean that if you ever updated this field group in the plugin that those changes till not effect any site where they have been changed.
This is perfect and points me in the right direction, thank you so much!
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!
🤔 Curious about the ACF user experience? So are we! Help guide the evolution of ACF by taking part in our first ever Annual Survey and guarantee you’re represented in the results. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 8, 2023
© 2023 Advanced Custom Fields.