wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_unregister_font_collection › WordPress Function

Since6.5.0
Deprecatedn/a
wp_unregister_font_collection ( $slug )
Parameters:
  • (string) $slug Font collection slug.
    Required: Yes
Returns:
  • (bool) True if the font collection was unregistered successfully, else false.
Defined at:
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 );
}