ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/search/class-wp-rest-post-search-handler.php

WP_REST_Post_Search_Handler

Class: Core class representing a search handler for posts in the REST API.

Source: wp-includes/rest-api/search/class-wp-rest-post-search-handler.php:17

Used by 0 functions | Uses 1 function

WP_REST_Post_Search_Handler::__construct()

Method: Constructor.

Source: wp-includes/rest-api/search/class-wp-rest-post-search-handler.php:24

Used by 0 functions | Uses 0 functions

WP_REST_Post_Search_Handler::search_items()

Method: Searches the object type content for a given search request.

Source: wp-includes/rest-api/search/class-wp-rest-post-search-handler.php:52

Used by 0 functions | Uses 2 functions

rest_post_search_query

Filter Hook: Filters the query arguments for a REST API search request.

Source: wp-includes/rest-api/search/class-wp-rest-post-search-handler.php:90

Used by 1 function | Uses 0 functions

WP_REST_Post_Search_Handler::prepare_item()

Method: Prepares the search result for a given ID.

Source: wp-includes/rest-api/search/class-wp-rest-post-search-handler.php:113

Used by 0 functions | Uses 4 functions

WP_REST_Post_Search_Handler::prepare_item_links()

Method: Prepares links for the search result of a given ID.

Source: wp-includes/rest-api/search/class-wp-rest-post-search-handler.php:155

Used by 0 functions | Uses 0 functions

WP_REST_Post_Search_Handler::protected_title_format()

Method: Overwrites the default protected title format.

Source: wp-includes/rest-api/search/class-wp-rest-post-search-handler.php:186

Used by 0 functions | Uses 0 functions

WP_REST_Post_Search_Handler::detect_rest_item_route()

Method: Attempts to detect the route to access a single item.

Source: wp-includes/rest-api/search/class-wp-rest-post-search-handler.php:200

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