flowcrafter_editor_scripts
Description
Fires after the workflow editor script is enqueued and localized. Third-party plugins should enqueue their node type bundles here, with ‘flowcrafter-editor’ as a dependency.
Usage
Enqueue scripts for the workflow editor.
add_action( 'flowcrafter_editor_scripts', 'my_custom_function' );Parameters
$flowcrafter
Flowcrafter
The Flowcrafter plugin instance.
Examples
Enqueue scripts for the workflow editor
add_action( 'flowcrafter_editor_scripts', function () {
wp_enqueue_script( 'my-flowcrafter-editor' );
} );Since
1.0-beta-1Hook added.