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

Filters rewrite rules used for comment feed archives.

Description Description

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

Top ↑

Parameters Parameters


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

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.