Skip to main content

Filter: gform_image_choice_label_visibility_default

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form_id

Example hook names:

  • gform_image_choice_label_visibility_default (base hook)
  • gform_image_choice_label_visibility_default_1 (with first modifier value)

A filter that allows for the managing of the default image choice labels visibility setting.

Default is show. Options are 'show' and 'hide'.

Parameters

NameTypeDescription
$label_visibility_defaultstringThe default image choice labels visibility.

Since

Source

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