Go to the source code of this file.
◆ $gravityview_view
◆ $show_label
$show_label = apply_filters( 'gravityview/fields/select/output_label', ( 'label' === \GV\Utils::get( $field_settings, 'choice_display' ) ), $entry, $field ) |
- Runs Filter:
gravityview/fields/select/output_label
Override whether to show the value or the label of a Select field
- Since
- 1.5.2
- Parameters
-
bool | $show_label | True: Show the label of the Choice; False: show the value of the Choice. Default: false |
array | $entry | GF Entry |
GF_Field_Select | $field | Gravity Forms Select field |
Definition at line 20 of file select.php.
◆ else
if ($show_label &&!empty($field->choices) &&is_array($field->choices) &&'' !==$display_value) else |