Used By
Used By | Description |
---|---|
wp-includes/rest-api.php: create_initial_rest_routes() | Registers default REST API routes. |
Filters the search handlers to use in the REST search controller.
(array) List of search handlers to use in the controller. Each search handler instance must extend the WP_REST_Search_Handler
class. Default is only a handler for posts.
File: wp-includes/rest-api.php
Version | Description |
---|---|
5.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_rest_search_handlers