Skip to main content

Filter: gform_disable_notification

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form_id

Example hook names:

  • gform_disable_notification (base hook)
  • gform_disable_notification_1 (with first modifier value)

Disables notifications.

Parameters

NameTypeDescription
$boolfalse Determines if the notification will be disabled. Set to true to disable the notification.
$formarrayThe Form Object that triggered the notification event.
$entryarrayThe Entry Object that triggered the notification event.
$dataarrayArray 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