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.