WP_Theme_JSON::get_raw_data() WordPress Method

The WP_Theme_JSON::get_raw_data() method is used to retrieve the raw data for a given theme. This data can then be used to create a new instance of WP_Theme or to update an existing instance.

WP_Theme_JSON::get_raw_data() #

Returns the raw data.


Return

(array) Raw data.


Top ↑

Source

File: wp-includes/class-wp-theme-json.php

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

Top ↑

Changelog

Changelog
VersionDescription
5.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.