wp-includes/rest-api/search/class-wp-rest-search-handler.php:62Gets the object subtypes managed by this search handler.
string[] public function get_subtypes() { return $this->subtypes; }Introduced in 5.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/rest-api/search/class-wp-rest-search-handler.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.