Come up with one question, how about if I need to use the ACF repeater fields?
How do I set the data on the Filter?
$data['test_repeat'] = have_rows('test_repeat');
then
@if {{ $test_repeat }}
@while {{ $test_repeat }} @php the_row() @endphp
_HTML MARKUP_
@endwhile
@endif
But how about if I also need to use the get_field('test_repeat')
, do I need to input different $data
variable?
Thanks!