Home Forums Add-ons Flexible Content Field add_row in a clone field Reply To: add_row in a clone field

  • Found out the solution, after some digging, I’ve realized that I didn’t try using the add_sub_row function. Which solved my problem using the following code:

    add_sub_row(array(self::content_field, $this->row, self::aside_content_field), [
        'acf_fc_layout' => 'aside_image',
        'aside_img_credit' => 'test',
        'aside_img_image' => 196
    ], $this->post_id);

    Thanks for the help and sorry for the double posts!