WordPress at a glance
filter is not described

comments_rewrite_rules filter-hook . WP 1.5.0

Filters rewrite rules used for comment feed archives.

Likely comments feed archives include /comments/feed/, and /comments/feed/atom/.

Usage

add_filter( 'comments_rewrite_rules', 'filter_function_name_8654' );
function filter_function_name_8654( $comments_rewrite ){
	// filter...

	return $comments_rewrite;
}
$comments_rewrite(string[])
Array of rewrite rules for the site-wide comments feeds, keyed by their regex pattern.

Changelog

Since 1.5.0 Introduced.

Where the hook is called

WP_Rewrite::rewrite_rules()
comments_rewrite_rules
wp-includes/class-wp-rewrite.php 1338
$comments_rewrite = apply_filters( 'comments_rewrite_rules', $comments_rewrite );

Where in WP core the hook is used

Usage not found!