Support

Account

Home Forums Add-ons Flexible Content Field Subfield to array Reply To: Subfield to array

  • Ah, so simple…

    if (have_rows('fcf_name')) {
      while(have_rows('fcf_name')) {
      the_row();
        $array[] = get_sub_field('subfield_name');
      }
      print_r($array);
    }