gravityflow_enqueue_frontend_scripts
The gravityflow_enqueue_frontend_scripts action to allow additional scripts to be enqueued when the Gravity Flow shortcode or block is present on the page.
There are no parameters for this action. For context on proper enqueuing scripts refer to admin_enqueue_scripts
Examples
add_action( 'gravityflow_enqueue_frontend_scripts', 'jo_gravityflow_enqueue_frontend_scripts', 10, 0 ); function jo_gravityflow_enqueue_frontend_scripts( ) { //Register and/or enqueue your scripts here }
Placement
This code should be placed in the functions.php file of your active theme or in a custom functions plugin.