Filter: gform_field_content
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form['id']$field->id
Example hook names:
gform_field_content(base hook)gform_field_content_1(with first modifier value)gform_field_content_1_2(with all modifier values)
Filters the field content.
Parameters
| Name | Type | Description |
|---|---|---|
| $content | string | The field content. |
| $field | array | The Field Object. |
| $value | string | The field value. |
| $lead | int | ['id'] The entry ID. |
| $form | int | ['id'] The form ID. |
Since
- 2.1.2.14: Added form and field ID modifiers.
Source
- Defined in
entry_detail.phpat line 859 - Defined in
entry_detail.phpat line 1143