wp_unregister_icon_collection( string $slug ): bool

In this article

Unregisters an icon collection.

Parameters

$slugstringrequired
Icon collection slug.

Return

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

Source

function wp_unregister_icon_collection( $slug ) {
	return WP_Icon_Collections_Registry::get_instance()->unregister( $slug );
}

Changelog

VersionDescription
7.1.0Introduced.

User Contributed Notes

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