On this page
wp_enqueue_editor_format_library_assets()
Enqueues the assets required for the format library within the block editor.
Source
File: wp-includes/script-loader.php. View all references
function wp_enqueue_editor_format_library_assets() {
wp_enqueue_script( 'wp-format-library' );
wp_enqueue_style( 'wp-format-library' );
}
Related
Uses
| Uses | Description |
|---|---|
| wp_enqueue_script() wp-includes/functions.wp-scripts.php | Enqueue a script. |
| wp_enqueue_style() wp-includes/functions.wp-styles.php | Enqueue a CSS stylesheet. |
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_enqueue_editor_format_library_assets