Home › Forums › Front-end Issues › Update parent and child repeater programmatically › Reply To: Update parent and child repeater programmatically
if you have a nested repeater you can nest that in the array
$value = array(
// element for row
array(
// field in parent repeater
'field_12345' => 'value'
// nested repeater
'field_23456' => array(
// element for row in nested repeater
array(
// field in nested repeater
'field_34567' => 'value for field in nested repeater'
)
)
)
);
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.