Summery Summery
Filters the search handlers to use in the REST search controller.
Syntax Syntax
Parameters Parameters
- $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.
Source Source
File: wp-includes/rest-api.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |