Home › Forums › Add-ons › Repeater Field › Programmatically add clone fields to a repeater’s subfields? › Reply To: Programmatically add clone fields to a repeater’s subfields?
Oh my approach here was SO WRONG!
Somehow I’ve gotten along just fine for so long without knowing about acf_add_local_field_group()! Instead of juggling json files and synchronization, all I had to do was rewrite this to build the field groups from code in the first place. Once that function clicked, this all fell into place.
https://www.advancedcustomfields.com/resources/register-fields-via-php/
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.