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



date_rewrite_rules ›

Desde1.5.0
Obsoleton/a
apply_filters( 'date_rewrite_rules', $date_rewrite )
Parâmetros:
  • (array) $date_rewrite The rewrite rules for date archives.
    Required: Yes
Definido em:
Codex:

Filters rewrite rules used for date archives.

Likely date archives would include /yyyy/, /yyyy/mm/, and /yyyy/mm/dd/.





Fonte

$date_rewrite = apply_filters( 'date_rewrite_rules', $date_rewrite );