Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



root_rewrite_rules ›

Seit1.5.0
Veraltetn/v
apply_filters( 'root_rewrite_rules', $root_rewrite )
Parameter:
  • (array) $root_rewrite The root-level rewrite rules.
    Erforderlich: Ja
Definiert in:
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/).





Quellcode

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