Returns an array containing the underlying data following the theme.json specification.
public function get_data() {
return $this->theme_json->get_raw_data();
}
| 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