gform_preview_footer

gform_preview_footer

DescriptionUsageParametersExamplesSource Code

Description
The 「gform_preview_footer」 action is triggered when the footer of the form preview page loads, allowing further actions to be done.
Usage
add_action( 'gform_preview_footer', 'my_function', 10, 1 );

Parameters

$id int
The ID of the current form being previewed.

Examples
function my_function() {
//Do something here
}
add_action( 'gform_preview_footer', 'my_function', 10, 1 );

Source Code
This action hook is located in preview.php.

发表回复

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