gform_pre_confirmation_deleted

gform_pre_confirmation_deleted

DescriptionUsageParametersExamplesSource Code

Description
Triggered immediately before the form deletion confirmation appears.
Usage
1add_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
12345add_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.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注