A WordPress-centric search engine for devs and theme authors



date_rewrite_rules ›

Since1.5.0
Deprecatedn/a
apply_filters( 'date_rewrite_rules', $date_rewrite )
Parameters:
  • (array) $date_rewrite The rewrite rules for date archives.
    Required: Yes
Defined at:
Codex:

Filters rewrite rules used for date archives.

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





Source

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