Parsed: 124129
<?php /** * REST API: WP_REST_Search_Controller class * * @package WordPress * @subpackage REST_API * @since 5.0.0 */ /* class WP_REST_Search_Controller */ /* function WP_REST_Search_Controller::__construct() – Constructor. */ /* function WP_REST_Search_Controller::register_routes() – Registers the routes for the objects of the controller. */ /* function WP_REST_Search_Controller::get_items_permission_check() – Checks if a given request has access to search content. */ /* function WP_REST_Search_Controller::get_items() – Retrieves a collection of search results. */ /* function WP_REST_Search_Controller::prepare_item_for_response() – Prepares a single search result for response. */ /* function WP_REST_Search_Controller::get_item_schema() – Retrieves the item schema, conforming to JSON Schema. */ /* function WP_REST_Search_Controller::get_collection_params() – Retrieves the query params for the search results collection. */ /* function WP_REST_Search_Controller::sanitize_subtypes() – Sanitizes the list of subtypes, to ensure only subtypes of the passed type are included. */ /* function WP_REST_Search_Controller::get_search_handler() – Gets the search handler to handle the current request. */