enqueue_block_editor_assets

Advertisement

Summery Summery

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

Syntax Syntax

do_action( 'enqueue_block_editor_assets' )

Description Description

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.

Source Source

File: wp-admin/edit-form-blocks.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply