wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_enqueue_editor_format_library_assets › WordPress Function

Depuis5.8.0
Dépréciéen/a
› wp_enqueue_editor_format_library_assets ( Pas de paramètres )
Défini(e) dans:
Codex:

Enqueues the assets required for the format library within the block editor.



Source

function wp_enqueue_editor_format_library_assets() {
	wp_enqueue_script( 'wp-format-library' );
	// Prefetched for the block editor by wp_prefetch_admin_assets(), which needs updating if this changes.
	wp_enqueue_style( 'wp-format-library' );
}