wpseek.com
A WordPress-centric search engine for devs and theme authors
enqueue_block_editor_assets › WordPress Action Hooks
Since5.0.0
Deprecatedn/a
› do_action( 'enqueue_block_editor_assets' )
Defined at: |
|
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.
Related Functions: enqueue_block_styles_assets, use_block_editor_for_post, enqueue_editor_block_styles_assets, the_block_editor_meta_boxes, wp_enqueue_code_editor, wp_enqueue_editor