WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_rest_search_handlers

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/rest-api.php apply_filters 307 /**
* Filters the search handlers to use in the REST search controller.
*
* @since 5.0.0
*
* @param array $search_handlers 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.
*/

Hook Parameters

Parameter Type Name Description
array $search_handlers List of search handlers to use in the controller. Each search