A WordPress-centric search engine for devs and theme authors



root_rewrite_rules ›

Since1.5.0
Deprecatedn/a
apply_filters( 'root_rewrite_rules', $root_rewrite )
Parameters:
  • (array) $root_rewrite The root-level rewrite rules.
    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 );