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



search_rewrite_rules › WordPress Filter Hooks

Seit1.5.0
Veraltetn/v
apply_filters( 'search_rewrite_rules', $search_rewrite )
Parameter:
  • (string[]) $search_rewrite Array of rewrite rules for search queries, keyed by their regex pattern.
    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 );