Filters rewrite rules used for date archives.
Description
Likely date archives would include /yyyy/
, /yyyy/mm/
, and /yyyy/mm/dd/
.
Parameters
$date_rewrite
string[]- Array of rewrite rules for date archives, keyed by their regex pattern.
Source
$date_rewrite = apply_filters( 'date_rewrite_rules', $date_rewrite );
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.