Support

Account

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',
        );