WP_REST_Search_Handler::get_subtypes()
Gets the object subtypes managed by this search handler.
Return
(array) Array of object subtype identifiers.
Source
File: wp-includes/rest-api/search/class-wp-rest-search-handler.php
public function get_subtypes() { return $this->subtypes; }
Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rest_search_handler/get_subtypes