Support

Account

Home Forums Front-end Issues Empty Field Not Returning As Empty Reply To: Empty Field Not Returning As Empty

  • Can you not create a variable for review and then just check if it’s set?

    <?php 
    
    $review= get_field('review');
    
    if (isset ($review)) {
    
    echo '<div class="youtube-player" data-id="' . $String . '"></div>'; 
    
    } ?>