Filter: gform_field_input
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id$field->id
Example hook names:
gform_field_input(base hook)gform_field_input_1(with first modifier value)gform_field_input_1_2(with all modifier values)
Filters the field input markup.
Parameters
| Name | Type | Description |
|---|---|---|
| $ | string | empty The markup. Defaults to an empty string. |
| $field | array | The Field Object. |
| $lead_id | int | The entry ID. |
| $value | string | The field value. |
| $form_id | int | The form ID. |
Since
- 2.1.2.14: Added form and field ID modifiers.
Source
Defined in common.php at line 3742