File: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php
-
Core class to search through all WordPress content via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:17 -
Constructor.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:65 -
Registers the routes for the search controller.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:91 -
Checks if a given request has access to search content.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:115 -
Retrieves a collection of search results.
Used by 0 functions | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:127 -
Prepares a single search result for response.
Used by 1 function | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:195 -
Retrieves the item schema, conforming to JSON Schema.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:232 -
Retrieves the query params for the search results collection.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:301 -
Sanitizes the list of subtypes, to ensure only subtypes of the passed type are included.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:366 -
Gets the search handler to handle the current request.
Used by 3 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:395