wordpress / latest / classes / wp_theme_json_data / get_data.html

WP_Theme_JSON_Data::get_data(): array

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

Return

array

Source

File: wp-includes/class-wp-theme-json-data.php. View all references

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

Changelog

Version Description
6.1.0 Introduced.

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