Home › Forums › ACF PRO › Using ACF Pro in plugin when standalone already installed › Reply To: Using ACF Pro in plugin when standalone already installed
With ACF Pro, if I need to keep field groups editable in my dev site where I develop plugins so that I can alter them I use JSON files for the field groups in a local JSON file in the plugin. Then I test to see if the field groups exist with a higher priority than ACF uses and if the don’t exist I load the JSON files and add them that way. I do this when I think I might need to change them, although, once you’ve done it enough it’s almost as easy to change them in code, though it get’s complicated when there’s a lot of conditional logic.
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.