WordPress at a glance
action is not described

enqueue_block_editor_assets action-hook . WP 5.0.0

Fires after block assets have been enqueued for the editing interface.

Call add_action on any hook before 'admin_enqueue_scripts'.

In the function call you supply, simply use wp_enqueue_script and wp_enqueue_style to add your functionality to the block editor.


add_action( 'enqueue_block_editor_assets', 'action_function_name_5360' );
function action_function_name_5360(){
	// action...


Since 5.0.0 Introduced.

Where the hook is called

In file: /wp-admin/edit-form-blocks.php
wp-admin/edit-form-blocks.php 409
do_action( 'enqueue_block_editor_assets' );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 541
add_action( 'enqueue_block_editor_assets', 'wp_enqueue_registered_block_scripts_and_styles' );
wp-includes/default-filters.php 547
add_action( 'enqueue_block_editor_assets', 'enqueue_editor_block_styles_assets' );
wp-includes/default-filters.php 548
add_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_block_directory_assets' );