ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php

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

Used by 0 functions | Uses 1 function

WP_REST_Search_Controller::__construct()

Method: Constructor.

Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:65

Used by 0 functions | Uses 0 functions

WP_REST_Search_Controller::register_routes()

Method: Registers the routes for the search controller.

Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:91

Used by 0 functions | Uses 1 function

WP_REST_Search_Controller::get_items_permission_check()

Method: Checks if a given request has access to search content.

Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:115

Used by 0 functions | Uses 0 functions

WP_REST_Search_Controller::get_items()

Method: Retrieves a collection of search results.

Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:127

Used by 0 functions | Uses 2 functions

WP_REST_Search_Controller::prepare_item_for_response()

Method: Prepares a single search result for response.

Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:195

Used by 1 function | Uses 1 function

WP_REST_Search_Controller::get_item_schema()

Method: Retrieves the item schema, conforming to JSON Schema.

Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:231

Used by 0 functions | Uses 0 functions

WP_REST_Search_Controller::get_collection_params()

Method: Retrieves the query params for the search results collection.

Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:300

Used by 1 function | Uses 0 functions

WP_REST_Search_Controller::sanitize_subtypes()

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

Used by 0 functions | Uses 1 function

WP_REST_Search_Controller::get_search_handler()

Method: Gets the search handler to handle the current request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php:394

Used by 3 functions | Uses 0 functions
ClassicPress Documentation • Made with ClassicPress
Privacy Policy