WP_REST_Search_Controller
Class: Core class to search through all WordPress content via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:17
Class: Core class to search through all WordPress content via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:17
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:65
Method: Registers the routes for the search controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:91
Method: Checks if a given request has access to search content.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:115
Method: Retrieves a collection of search results.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:127
Method: Prepares a single search result for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:195
Method: Retrieves the item schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:231
Method: Retrieves the query params for the search results collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:300
Method: Sanitizes the list of subtypes, to ensure only subtypes of the passed type are included.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:365
Method: Gets the search handler to handle the current request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:394