Checks if a font collection is registered.
Parameters
$slug
stringrequired- Font collection slug.
Source
private function is_collection_registered( string $slug ) {
return array_key_exists( $slug, $this->collections );
}
Changelog
Version | Description |
---|---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.