A WordPress-centric search engine for devs and theme authors



wp_enqueue_editor_block_directory_assets ›

Since5.5.0
Deprecatedn/a
wp_enqueue_editor_block_directory_assets ( No parameters )
Defined at:
Codex:

Enqueues the assets required for the block directory within the block editor.



Source

function wp_enqueue_editor_block_directory_assets() {
	wp_enqueue_script( 'wp-block-directory' );
	wp_enqueue_style( 'wp-block-directory' );
}