Support

Account

Home Forums Gutenberg InnerBlocks Template Pre-populate ACF Repeater Reply To: InnerBlocks Template Pre-populate ACF Repeater

  • Got the solution 🙂
    If you want to repeat an other button change 0 to 1

    
    array('tatof/button', array(
        'data' => [
            'template_buttons_0_tb_button' => [
                'title' => 'Button title',
                'url' => '#',
                'target' => ''
            ],
            '_template_buttons_0_tb_button' => 'field_637e1739ba382',
    
            'template_buttons_0_tb_color' => 'primary',
            '_template_buttons_0_tb_color' => 'field_637e1750ba383',
    
            'template_buttons_0_tb_icon' => '',
            '_template_buttons_0_tb_icon' => 'field_637e18cfba384',
    
            'template_buttons' => 1,
            '_template_buttons' => 'field_637e171dba381',
        ]
    )),