apply_filters( 'search_rewrite_rules', array $search_rewrite )

Filters rewrite rules used for search archives.

Description Description

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

Parameters Parameters


(array) The rewrite rules for search queries.

Top ↑

Source Source

File: wp-includes/class-wp-rewrite.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.