When your website means business.

ACF | Type: PHPACF Repeater Conditional

Conditional based on having field values

<?php 
if(get_field('course_features')):
    echo '<h3>Features</h3>';
    echo '<ul>';
    while(has_sub_fields('course_features')):
        echo '<li>';
        $featureitem = get_sub_field('feature_item'); //note get_sub_field after 'while'
            if ($featureitem) {
                echo $featureitem;
            }
        echo '</li>';
    endwhile;
    echo '</ul>';
endif;
?>