comment_text_rss

The timeline below displays how wordpress function comment_text_rss has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * Displays the current comment content for use in the feeds.
 *
 * @since 1.0.0
 */
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;
}

WordPress Version: 4.6

/**
 * Display the current comment content for use in the feeds.
 *
 * @since 1.0.0
 */
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;
}

WordPress Version: 4.1

/**
 * Display the current comment content for use in the feeds.
 *
 * @since 1.0.0
 */
function comment_text_rss()
{
    $comment_text = get_comment_text();
    /**
     * Filter 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;
}

WordPress Version: 3.9

/**
 * Display the current comment content for use in the feeds.
 *
 * @since 1.0.0
 * @uses get_comment_text()
 */
function comment_text_rss()
{
    $comment_text = get_comment_text();
    /**
     * Filter 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;
}

WordPress Version: 3.7

/**
 * Display the current comment content for use in the feeds.
 *
 * @package WordPress
 * @subpackage Feed
 * @since 1.0.0
 * @uses apply_filters() Calls 'comment_text_rss' filter on comment content.
 * @uses get_comment_text()
 */
function comment_text_rss()
{
    $comment_text = get_comment_text();
    $comment_text = apply_filters('comment_text_rss', $comment_text);
    echo $comment_text;
}