Support

Account

Home Forums General Issues If field group is not active, hide field group on front-end Reply To: If field group is not active, hide field group on front-end

  • ACF does not check a field group to see if it’s active when you use get_field() and other field functions. You would need to check this yourself by getting the field group

    
    $group = acf_get_field_group('group_5c1d039ed4066'); // your field group key
    if ($group['active']) {
      // code here for showing fields in the group
    }