Description
Triggered when Gravity Forms is loaded. Use this hook to initialize any functionality that depends on Gravity Forms.
Usage
add_action( 'gform_loaded', 'my_function', 10, 0 );
Parameters
This action does not have any parameters.
Examples
function my_function() { //Do something here } add_action( 'gform_loaded', 'my_function', 10, 0 );
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?
Source Code
This action hook is located in gravityforms.php.