comment_text_rss WordPress Filter Hook

The comment_text_rss hook is used to filter the text of a comment when it is displayed in an RSS feed. This hook is called before the comment is displayed in the feed, and allows you to modify the comment text before it is included in the RSS feed.

apply_filters( 'comment_text_rss', string $comment_text ) #

Filters the current comment content for use in a feed.


Parameters

$comment_text

(string)The content of the current comment.


Top ↑

Source

File: wp-includes/feed.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
1.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.