WP_Font_Library::get_font_collections
Gets all the font collections available.
Method of the class: WP_Font_Library{}
No Hooks.
Returns
Array. List of font collections.
Usage
$WP_Font_Library = new WP_Font_Library(); $WP_Font_Library->get_font_collections();
Changelog
| Since 6.5.0 | Introduced. |
WP_Font_Library::get_font_collections() WP Font Library::get font collections code WP 7.0
public function get_font_collections() {
return $this->collections;
}