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. |