Support

Account

Home Forums Front-end Issues Hide container of Group Field from page if no one field have value Reply To: Hide container of Group Field from page if no one field have value

  • 
    $icons = get_field('icons-group');
    $filtered = array_filter($icons);
    if ($filtered) {
      // at least one of $icons has a value
    }