WordPress at a glance
action is not described

enqueue_block_assets action-hook . WP 5.0.0

Fires after enqueuing block assets for both editor and front-end.

Call add_action on any hook before 'wp_enqueue_scripts'.

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


add_action( 'enqueue_block_assets', 'action_function_name_3250' );
function action_function_name_3250(){
	// action...


Since 5.0.0 Introduced.

Where the hook is called

wp-includes/script-loader.php 2211
do_action( 'enqueue_block_assets' );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 540
add_action( 'enqueue_block_assets', 'wp_enqueue_registered_block_scripts_and_styles' );
wp-includes/default-filters.php 546
add_action( 'enqueue_block_assets', 'enqueue_block_styles_assets', 30 );