Thank you for your help and suggestions. We did consider at some point putting all of the json for the fields groups in our theme, but because our site is already existing and we didn’t do that from the beginning we felt it to be too risky at this point.
For this thing i am making, i will export the fields and import them into my other environments. I still want to be able to get the field_keys programmatically so i don’t have to hard code all of those values.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users