Action: gform_{$slug}_error
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form['id']
Example hook names:
gform_\{$slug\}_error(base hook)gform_{$slug}_error_1(with first modifier value)
Process any error actions.
Parameters
| Name | Type | Description |
|---|---|---|
| $feed | array | The feed which was being processed when the error occurred. |
| $entry | array | The entry which was being processed when the error occurred. |
| $feed | array | The form which was being processed when the error occurred. |
| $error_message | string | The error message. |
Since
Source
Defined in includes/addon/class-gf-feed-addon.php at line 2620