This action hook is fired on Avada Builder initialization. Enqueue java scripts and styles on Avada Builder back end.
Copy to Clipboardfunction my_function() {
wp_enqueue_script( 'my-script','js/my-script.js', array( 'jquery' ), '1.0', true );
}
add_action( 'fusion_builder_admin_scripts_hook', 'my_function' );
x 1function my_function() {2 wp_enqueue_script( 'my-script','js/my-script.js', array( 'jquery' ), '1.0', true );3}4add_action( 'fusion_builder_admin_scripts_hook', 'my_function' );5
fusion_builder_admin_scripts_hook
fusion_builder_admin_scripts_hook