WP_REST_Search_Handler::get_type()
Gets the object type managed by this search handler.
Return
(string) Object type identifier.
Source
File: wp-includes/rest-api/search/class-wp-rest-search-handler.php
public function get_type() { return $this->type; }
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_type