Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



search_rewrite_rules ›

Seit1.5.0
Veraltetn/v
apply_filters( 'search_rewrite_rules', $search_rewrite )
Parameter:
  • (array) $search_rewrite The rewrite rules for search queries.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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