bookmark_bordergform_post_form_restored

Description

Triggered after a form is restored from trash.

Usage

add_action( 'gform_post_form_restored', 'my_function', 10 );

Parameters

  • $form_id int
    The ID of the form being restored.

Examples

add_action( 'gform_post_form_restored', 'my_post_form_restored_func', 10);

function my_post_form_restored_func( $form_id ) {
    // perform action after a form has been restored
}

Source Code

This action hook is located in forms_model.php