Description
The block_rows() function will determine whether another repeater row exists to loop through. Similar to the_post().
block_rows( $name );
Parameters
$name(string) (Required) The repeater field name
Usage
if ( block_rows( 'my-repeater' ) ) :
while ( block_rows( 'my-repeater' ) ) :
block_row( 'my-repeater' );
block_sub_field( 'my-text-field' );
$foo = block_sub_value( 'my-checkbox' );
if ( $foo ) {
// Do something.
}
endwhile;
endif;
