apply_filters( 'root_rewrite_rules', string[] $root_rewrite )

Filters rewrite rules used for root-level archives.


Description Description

Likely root-level archives would include pagination rules for the homepage as well as site-wide post feeds (e.g. /feed/, and /feed/atom/).


Top ↑

Parameters Parameters

$root_rewrite

(string[]) Array of root-level rewrite rules, keyed by their regex pattern.


Top ↑

Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

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