WP_Theme_JSON_Data::get_data
Returns an array containing the underlying data following the theme.json specification.
Method of the class: WP_Theme_JSON_Data{}
No Hooks.
Returns
Array
.
Usage
$WP_Theme_JSON_Data = new WP_Theme_JSON_Data(); $WP_Theme_JSON_Data->get_data();
Changelog
Since 6.1.0 | Introduced. |
WP_Theme_JSON_Data::get_data() WP Theme JSON Data::get data code WP 6.8.1
public function get_data() { return $this->theme_json->get_raw_data(); }