comments_rewrite_rules

Advertisement

Summery Summery

Filters rewrite rules used for comment feed archives.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$comments_rewrite

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

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.