in

Get data from ACF repeater field in WordPress

<?php 
if( have_rows('repeater_field_name') ): 
	while( have_rows('repeater_field_name') ) : the_row();
	
		if (get_sub_field( 'repeater_sub_field_1_name')):
			echo the_sub_field('repeater_sub_field_1_name'); 
		endif
		
		if (get_sub_field( 'repeater_sub_field_2_name')):
			echo the_sub_field('repeater_sub_field_2_name'); 
		endif

	endwhile;
endif; 
?>