WP_Icon_Collections_Registry::is_registered( string|null $collection_slug ): bool

In this article

Checks if an icon collection is registered.

Parameters

$collection_slugstring|nullrequired
Icon collection slug.

Return

bool True if the icon collection is registered, false otherwise.

Source

public function is_registered( $collection_slug ) {
	return isset( $collection_slug, $this->registered_collections[ $collection_slug ] );
}

Changelog

VersionDescription
7.1.0Introduced.

User Contributed Notes

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