Home › Forums › General Issues › Updating ACF Repeater that is a CLONE Programtically › Reply To: Updating ACF Repeater that is a CLONE Programtically
https://stackoverflow.com/questions/58914010/insert-repeater-rows-in-flexible-content-programmatically
Using the information above I was able to get a repeater to work inside a Flexible Content block when it is a single level. As you can tell from my example, I have Flexible Content inside Flexible Content. How would I alter it to make it work another level down?
$fc_data = array(
'flexible_content_field_key' => 'field_5a81b3845b0a3',
'flexible_content_layout' => 'directory_table',
'flexible_content_repeater_field_key' => 'field_5a846b336d34f',
);
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.