gform_pre_notification_activated

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

Examples

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

Source Code

This action hook is located in forms_model.php.