DescriptionUsageParametersExamplesSinceSource Code
Description
The 「gform_preview_init」 action is triggered when the form preview page loads, allowing further actions to be done.
Usage
1add_action( 'gform_preview_init', 'my_function' );
Parameters
This hook has no parameters.
Examples
1234function my_function() { // Do something here}add_action( 'gform_preview_init', 'my_function' );
Since
This action hook was added in Gravity Forms 2.5
Source Code
This action hook is located in preview.php.