Filters the search handlers to use in the REST search controller.
$search_handlersarray
WP_REST_Search_Handler class.$search_handlers = apply_filters( 'wp_rest_search_handlers', $search_handlers );
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_rest_search_handlers