W3cubDocs

/WordPress

WP_Theme_JSON_Data::get_data(): array

Returns an array containing the underlying data following the theme.json specification.

Return

array

Source

public function get_data() {
	return $this->theme_json->get_raw_data();
}

Changelog

Version Description
6.1.0 Introduced.

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