Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/rest-api/search/class-wp-rest-post-search-handler.php

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

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 1 function | Uses 1 function

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 3 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 6 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 3 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 2 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry