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



search_rewrite_rules › Filtr WordPress Hooks

Od1.5.0
Przestarzałyn/a
apply_filters( 'search_rewrite_rules', $search_rewrite )
Parametry:
  • (string[]) $search_rewrite Array of rewrite rules for search queries, keyed by their regex pattern.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters rewrite rules used for search archives.

Likely search-related archives include /search/search+query/ as well as pagination and feed paths for a search.





Źródło

$search_rewrite = apply_filters( 'search_rewrite_rules', $search_rewrite );