Skip to main content

Filter: gform_pre_notification_save

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form['id']

Example hook names:

  • gform_pre_notification_save (base hook)
  • gform_pre_notification_save_1 (with first modifier value)

Filters the notification before it is saved

Parameters

NameTypeDescription
$formarrayThe Form Object.
$is_new_notificationboolTrue if it is a new notification. False otherwise.
$notificationarrayThe Notification Object.

Since

  • 1.7

Source

Defined in notification.php at line 631