W3cubDocs

/WordPress

WP_Font_Library::get_font_collections(): array

Gets all the font collections available.

Return

array List of font collections.

Source

public function get_font_collections() {
	return $this->collections;
}

Changelog

Version Description
6.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_font_library/get_font_collections