wp_enqueue_editor_format_library_assets()
Enqueues the assets required for the format library within the block editor.
No Hooks.
Returns
null. Nothing (null).
Usage
wp_enqueue_editor_format_library_assets();
Changelog
| Since 5.8.0 | Introduced. |
wp_enqueue_editor_format_library_assets() wp enqueue editor format library assets code WP 7.0
function wp_enqueue_editor_format_library_assets() {
wp_enqueue_script( 'wp-format-library' );
wp_enqueue_style( 'wp-format-library' );
}