Filter: gform_disable_notification
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id
Example hook names:
gform_disable_notification(base hook)gform_disable_notification_1(with first modifier value)
Disables notifications.
Parameters
| Name | Type | Description |
|---|---|---|
| $ | bool | false Determines if the notification will be disabled. Set to true to disable the notification. |
| $form | array | The Form Object that triggered the notification event. |
| $entry | array | The Entry Object that triggered the notification event. |
| $data | array | Array of data which can be used in the notifications via the generic {object:property} merge tag. Defaults to empty array. |
Since
- 2.3.6.6: Added the $data param.
- Unknown: Unknown
Source
Defined in includes/api.php at line 2570