apply_filters( 'comments_rewrite_rules', string[] $comments_rewrite )

Filters rewrite rules used for comment feed archives.

Description

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

Parameters

$comments_rewrite

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

Source

File: wp-includes/class-wp-rewrite.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.