WordPress at a glance
filter is not described

date_rewrite_rules filter-hook . WP 1.5.0

Filters rewrite rules used for date archives.

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


add_filter( 'date_rewrite_rules', 'filter_function_name_5483' );
function filter_function_name_5483( $date_rewrite ){
	// filter...

	return $date_rewrite;
The rewrite rules for date archives.

Where the hook is called

wp-includes/class-wp-rewrite.php 1271
$date_rewrite = apply_filters( 'date_rewrite_rules', $date_rewrite );

Where the hook is used (in WP core)

Does not used.