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



wp_unregister_font_collection › WordPress Function

Depuis6.5.0
Dépréciéen/a
wp_unregister_font_collection ( $slug )
Paramètres:
  • (string) $slug Font collection slug.
    Requis: Oui
Retourne:
  • (bool) True if the font collection was unregistered successfully, else false.
Défini(e) dans:
Codex:

Unregisters a font collection from the Font Library.



Source

function wp_unregister_font_collection( string $slug ) {
	return WP_Font_Library::get_instance()->unregister_font_collection( $slug );
}