wpseek.com
A WordPress-centric search engine for devs and theme authors



root_rewrite_rules › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'root_rewrite_rules', $root_rewrite )
Parameters:
  • () root_rewrite Array of root-level rewrite rules, keyed by their regex pattern.
    Required: Yes
Defined at:
Codex:

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/`).




Source

$root_rewrite = apply_filters( 'root_rewrite_rules', $root_rewrite );