Home › Forums › General Issues › Concepts of “Exporting PHP Code” › Reply To: Concepts of “Exporting PHP Code”
The best choice here is to add and acf-json folder to your plugin, create an acf load point that points to the plugin folder, set the json file to privateacf load point
so that it cannot be synced. Copy the JSON file from the theme to your plugin. When you need to make changes you remove the private setting on your dev site, sync the json and make changes. The JSON file will be saved in the theme again, then you move the new json file into your plugin folder.
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.