wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_unregister_font_collection › WordPress Function

Desde6.5.0
Obsoleton/a
wp_unregister_font_collection ( $slug )
Parâmetros:
  • (string) $slug Font collection slug.
    Required: Yes
Retorna:
  • (bool) True if the font collection was unregistered successfully, else false.
Definido em:
Codex:

Unregisters a font collection from the Font Library.



Fonte

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