Thanks, this works great! This seems to work only with adding fields that didn’t exist before. Is there a way to automatically delete fields in the database that were deleted via their JSON files? I am using this feature on a multisite.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users