gravityflow_enqueue_admin_scripts

The gravityflow_enqueue_admin_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_admin_scripts', 'jo_gravityflow_block_scripts', 10, 0 );
function jo_gravityflow_block_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.