comment_text_rss

Display the current comment content for use in the feeds.

Description

comment_text_rss(); 

Usage

  1. if ( !function_exists( 'comment_text_rss' ) ) { 
  2. require_once ABSPATH . WPINC . '/feed.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = comment_text_rss(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/feed.php  
  1. function comment_text_rss() { 
  2. $comment_text = get_comment_text(); 
  3. /** 
  4. * Filters the current comment content for use in a feed. 
  5. * @since 1.5.0 
  6. * @param string $comment_text The content of the current comment. 
  7. */ 
  8. $comment_text = apply_filters( 'comment_text_rss', $comment_text ); 
  9. echo $comment_text;