gform_pre_confirmation_deleted

Description

Triggered immediately before the form deletion confirmation appears.

Usage

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

Parameters

  • $id int

    The ID of the confirmation being deleted.

  • $form array

    The ID of the form that the confirmation is being deleted from.

Examples

add_action( 'gform_pre_confirmation_deleted', 'my_pre_confirmation_deleted_func' 10, 2);

function my_pre_confirmation_deleted_func( $confirmation_id, $form ) {
// perform action before a confirmation is deleted
}

Source Code

This action hook is located in preview.php.