flowcrafter_editor_localize_data
Description
Filter the data localized for the workflow editor script. Third-party plugins can add their icons or other data here.
Usage
Add data for editor extensions.
add_filter( 'flowcrafter_editor_localize_data', 'my_custom_function' );Parameters
$data
array
The localized data array.
Examples
Add data for editor extensions
add_filter( 'flowcrafter_editor_localize_data', function ( $data ) {
$data['myExtension'] = true;
return $data;
} );Since
1.0-beta-1Hook added.