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.
Source
File: wp-includes/class-wp-theme-json.php
public function get_raw_data() { return $this->theme_json; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |