WP_REST_Search_Controller::__construct()
Constructor.
Constructor.
Retrieves the query params for the search results collection.
Retrieves the item schema, conforming to JSON Schema.
Retrieves a collection of search results.
Checks if a given request has access to search content.
Gets the search handler to handle the current request.
Prepares a single search result for response.
Registers the routes for the search controller.
Sanitizes the list of subtypes, to ensure only subtypes of the passed type are included.
Core base class representing a search handler for an object type in the REST API.