gform_pre_notification_deactivated

gform_pre_notification_deactivated

DescriptionUsageParametersExamplesSource Code

Description
The 「gform_pre_notification_deactivated」 action in Gravity Forms is triggered before a notification is deactivated, allowing further actions to be performed.
Usage
1add_action( 'gform_pre_notification_deactivated', 'my_function', 10, 2 );

Parameters

$notification_id int
The ID of the notification being deactivated.

$form array
The form object.

Examples
1234function my_function() {    //Do something here}add_action( 'gform_pre_notification_deactivated', 'my_function', 10, 2 );
Source Code
This action hook is located in forms_model.php.

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註