wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_rest_search_handlers › Filtr WordPress Hooks

Od5.0.0
Przestarzałyn/a
› apply_filters( 'wp_rest_search_handlers', $search_handlers )
Parametry:
  • () 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.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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