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/.


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

	return $comments_rewrite;
The rewrite rules for the site-wide comments feeds.

Where the hook is called

wp-includes/class-wp-rewrite.php 1335
$comments_rewrite = apply_filters( 'comments_rewrite_rules', $comments_rewrite );

Where the hook is used (in WP core)

Использование не найдено.