Used By
Used By | Description |
---|---|
wp-includes/class-wp-rewrite.php: WP_Rewrite::rewrite_rules() | Constructs rewrite matches and queries from permalink structure. |
Filters rewrite rules used for root-level archives.
Likely root-level archives would include pagination rules for the homepage as well as site-wide post feeds (e.g. /feed/, and /feed/atom/).
(string[]) Array of root-level rewrite rules, keyed by their regex pattern.
Version | Description |
---|---|
1.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/root_rewrite_rules