Uma área de pesquisa sobre o WordPress para devs e autores do tema



enqueue_block_editor_assets ›

Desde5.0.0
Obsoleton/a
do_action( 'enqueue_block_editor_assets' )
Definido em:
Codex:

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.





Fonte

do_action( 'enqueue_block_editor_assets' );