Skip to main content

Filter: gform_multiselect_placeholder

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form_id
  2. $this->id

Example hook names:

  • gform_multiselect_placeholder (base hook)
  • gform_multiselect_placeholder_1 (with first modifier value)
  • gform_multiselect_placeholder_1_2 (with all modifier values)

Allow the placeholder used by the enhanced ui to be overridden

Parameters

NameTypeDescription
$placeholderstringThe placeholder text.
$form_idintThe ID of the current form.

Since

  • 1.9.14: Third parameter containing the field ID was added.
  • Unknown: Unknown

Source

Defined in includes/fields/class-gf-field-multiselect.php at line 158