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



post_rewrite_rules ›

Desde1.5.0
Obsoleton/a
apply_filters( 'post_rewrite_rules', $post_rewrite )
Parâmetros:
  • (array) $post_rewrite The rewrite rules for posts.
    Required: Yes
Definido em:
Codex:

Filters rewrite rules used for "post" archives.





Fonte

$post_rewrite = apply_filters( 'post_rewrite_rules', $post_rewrite );