DescriptionUsageParametersExamplesSource Code
Description
Triggered before a notification is deleted.
Usage
add_action( 'gform_pre_notification_deleted', 'my_function', 10, 2 );
Parameters
$notification_id int
The ID of the notification being deleted.
$form array
The form object.
Examples
function my_function() {
//Do something here
}
add_action( 'gform_pre_notification_deleted', 'my_function', 10, 2 );
Source Code
This action hook is located in notification.php.