wp-includes/class-wp-theme-json-data.php:69Returns an array containing the underlying data following the theme.json specification.
array public function get_data() { return $this->theme_json->get_raw_data(); }Introduced in 6.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/class-wp-theme-json-data.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.