Checks if a font collection is registered.
Parameters
$slugstringrequired- 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.