WordPress at a glance
filter is not described

wp_rest_search_handlers filter-hook . WP 5.0.0

Filters the search handlers to use in the REST search controller.

Usage

add_filter( 'wp_rest_search_handlers', 'filter_function_name_1362' );
function filter_function_name_1362( $search_handlers ){
	// filter...

	return $search_handlers;
}
$search_handlers(array)
List of search handlers to use in the controller. Each search handler instance must extend the WP_REST_Search_Handler class.
Default: only a handler for posts

Where the hook is called

create_initial_rest_routes()
wp-includes/rest-api.php 248
$search_handlers = apply_filters( 'wp_rest_search_handlers', array( new WP_REST_Post_Search_Handler() ) );

Where the hook is used (in WP core)

Does not used.