comment_text_rss()
- Since
- 1.0.0
- Source
wp-includes/feed.php:356
Displays the current comment content for use in the feeds.
Hooks fired · 1
One hook fires while comment_text_rss() runs, in this order:
- apply_filters( comment_text_rss )filterline 365 (+9 into the body)
Filters the current comment content for use in a feed.
Uses · 2
- get_comment_text()Retrieves the text of the current comment.
- apply_filters()Calls the callback functions that have been added to a filter hook.
Source
function comment_text_rss() { $comment_text = get_comment_text(); /** * Filters the current comment content for use in a feed. * * @since 1.5.0 * * @param string $comment_text The content of the current comment. */ $comment_text = apply_filters( 'comment_text_rss', $comment_text ); echo $comment_text;}History
Introduced in 1.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/feed.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.