Home › Forums › ACF PRO › Migrate Fields and Field Groups from theme to plugin? › Reply To: Migrate Fields and Field Groups from theme to plugin?
if you have saved all field groups that you want with the acf-json folder existing then all changes are in this json files. I do this all the time.
1) Copy the field groups you want in the plugin to an acf-json folder in your plugin.
2) Delete the field groups from the acf admin, note that you will loose the ability to edit these field groups using the acf admin field group editor
3) Add a json load point in the plugin
No data will be lost by doing this.
If you want to edit a field group in the future you can import the group into ACF, make changes and then copy to the plugin again and delete the group.
It is also possible to edit and save json files directly to the plugin folder. I’m sure there are topics on this here but I can’t find any at the moment.
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.