gform_pre_notification_activated

gform_pre_notification_activated

DescriptionUsageParametersExamplesSource Code

Description
The 「gform_pre_notification_activated」 action is triggered before a notification is activated, allowing further actions to be performed.
Usage
add_action( 'gform_pre_notification_activated', 'my_function', 10, 2 );

Parameters

$notification_id int
The ID of the notification being activated.

$form array
The form object.

Examples
function my_function() {
//Do something here
}
add_action( 'gform_pre_notification_activated', 'my_function', 10, 2 );

Source Code
This action hook is located in forms_model.php.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注