Home › Forums › ACF PRO › Programatically adding field group and fields to the (or an) options page › Reply To: Programatically adding field group and fields to the (or an) options page
I’m aware there’s an obvious bug there in using the incorrect variable name when passing to the acf_add_local_field_group function. That’s not the reason it’s not working, that’s just me copypasting from outside a wrapper function and then inside the wrapper function. I AM passing the correct array so ignore that.
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.