Uses
Uses | Description |
---|---|
wp-includes/functions.wp-scripts.php: wp_enqueue_script() | Enqueue a script. |
wp-includes/functions.wp-styles.php: wp_enqueue_style() | Enqueue a CSS stylesheet. |
Enqueues the assets required for the block directory within the block editor.
File: wp-includes/script-loader.php
function wp_enqueue_editor_block_directory_assets() { wp_enqueue_script( 'wp-block-directory' ); wp_enqueue_style( 'wp-block-directory' ); }
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_enqueue_editor_block_directory_assets