Filter: gform_addon_field_value
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form['id']$field_id
Example hook names:
gform_addon_field_value(base hook)gform_addon_field_value_1(with first modifier value)gform_addon_field_value_1_2(with all modifier values)
A generic filter allowing the field value to be overridden. Form and field id modifiers supported.
Parameters
| Name | Type | Description |
|---|---|---|
| $field_value | string | The value to be overridden. |
| $form | array | The Form currently being processed. |
| $entry | array | The Entry currently being processed. |
| $field_id | string | The ID of the Field currently being processed. |
| $slug | string | The add-on slug e.g. gravityformsactivecampaign. |
Since
- 1.9.15.12
Source
Defined in includes/addon/class-gf-addon.php at line 6068