Support

Account

Home Forums Front-end Issues If statement not working when field is empty Reply To: If statement not working when field is empty

  • That seems odd, what is it returning?

    
    $image = get_field('hero_image', $post_id);
    var_dump($image);