Uma área de pesquisa sobre o WordPress para devs e autores do tema



root_rewrite_rules ›

Desde1.5.0
Obsoleton/a
apply_filters( 'root_rewrite_rules', $root_rewrite )
Parâmetros:
  • (array) $root_rewrite The root-level rewrite rules.
    Required: Yes
Definido em:
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/).





Fonte

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