Home › Forums › ACF PRO › Is it possible to have local JSON files in both theme and plugin folders › Reply To: Is it possible to have local JSON files in both theme and plugin folders
Should the above code go into my main plugin php file?
I have tried adding it and updating a single group id to the array which seems to allow all the field groups to be saved into my-theme/acf-json apart from the group id listed which I believe is correct.
The bit that doesn’t seem to be working is the group id added to the array that I want to be associated with my plugin isn’t being saved into the my-plugin/acf-json folder, it isn’t actually getting saved anywhere.
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!
© 2022 Advanced Custom Fields.