Attempts to detect the route to access a single item.
WP_REST_Post_Search_Handler::protected_title_format
Overwrites the default protected title format.
WP_REST_Post_Search_Handler::prepare_item_links
Prepares links for the search result of a given ID.
WP_REST_Post_Search_Handler::prepare_item
Prepares the search result for a given ID.
Advertisement
rest_post_search_query
Filters the query arguments for a search request.
WP_REST_Post_Search_Handler::search_items
Searches the object type content for a given search request.
WP_REST_Post_Search_Handler::__construct
Constructor.
WP_REST_Post_Search_Handler
Core class representing a search handler for posts in the REST API.