Home › Forums › ACF PRO › update multiple nested repeaters programmatically › Reply To: update multiple nested repeaters programmatically
OK got it to work.
I used update_field()
to add the first row with all the sub fields and nested repeater as arrays.
For the next rows I fetched the entire parent group field using get_field()
and appended the row as array.
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.