Skip to main content

Filter: gform_image_choice_input_visibility

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $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

NameTypeDescription
$input_visibilitystringThe image choice inputs visibility.
$fieldobjectThe current field object.

Since

Source

Defined in includes/fields/class-gf-field-image-choice.php at line 188