Filter: gform_multiselect_placeholder
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id$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
| Name | Type | Description |
|---|---|---|
| $placeholder | string | The placeholder text. |
| $form_id | int | The 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