bookmark_bordergform_post_form_deactivated

Description

Triggered after an active form is marked as inactive.

Usage

add_action( 'gform_post_form_deactivated', 'my_function', 10, 1 );

Parameters

  • $form_id int
    The ID of the form that is being marked as inactive.

Examples

add_action( 'gform_post_form_deactivated', 'my_post_form_deactivated_func', 10);

function my_post_form_deactivated_func( $form_id ) {
  // perform action after a form has been deactivated
}

Source Code

This action hook is located in forms_model.php