Filter: gform_image_choice_input_visibility
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$field->formId
Example hook names:
gform_image_choice_input_visibility(base hook)gform_image_choice_input_visibility_1(with first modifier value)
A filter that allows for the managing of image choice inputs visibility.
Default is show. Options are 'show' and 'hide'. If image choice labels are hidden, the inputs will also be hidden.
Parameters
| Name | Type | Description |
|---|---|---|
| $input_visibility | string | The image choice inputs visibility. |
| $field | object | The current field object. |
Since
Source
Defined in includes/fields/class-gf-field-image-choice.php at line 188