Support

Account

Home Forums General Issues How to get count of rows in repeater, in flexible content Reply To: How to get count of rows in repeater, in flexible content

  • if the repeater is a sub field of a flex field then you need to use get_sub_field()

    
    $num_rows = count(get_sub_field('columns'));