Home › Forums › ACF PRO › Add Field Group, PHP vs JSON? › Reply To: Add Field Group, PHP vs JSON?
Hi @jsilver
Don’t have any performance benchmarkings for the difference but I would imagine they’re not much different there unless you get it up to insane quantities.
Personally if it’s fields not within a theme I would always go for the PHP approach. That’s because it’s more straight forward, I find the syntax easier to work with and most importantly it’s dynamic.
I have a project right now where I create ACF fields in a plugin dynamically based on posts in a CPT using the PHP method 🙂
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.