wp_unregister_font_collection( string $slug ): bool

In this article

Unregisters a font collection from the Font Library.

Parameters

$slugstringrequired
Font collection slug.

Return

bool True if the font collection was unregistered successfully, else false.

Source

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

Changelog

VersionDescription
6.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.