bookmark_bordergform_post_form_duplicated

Description

Triggered after a form is duplicated.

Usage

add_action( 'gform_post_form_duplicated', 'my_function', 10, 2 );

Parameters

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

  • $new_id int
    The ID of the newly created, duplicate form.

Examples

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

Source Code

This action hook is located in forms_model.php