wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_rest_search_handlers › WordPress Filter Hooks

Da5.0.0
Deprecaton/a
› apply_filters( 'wp_rest_search_handlers', $search_handlers )
Parametri:
  • () 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.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

$search_handlers = apply_filters( 'wp_rest_search_handlers', $search_handlers );