the_excerpt_rss

Display the post excerpt for the feed.

Description

the_excerpt_rss(); 

Usage

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

Defined (1)

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

/wp-includes/feed.php  
  1. function the_excerpt_rss() { 
  2. $output = get_the_excerpt(); 
  3. /** 
  4. * Filters the post excerpt for a feed. 
  5. * @since 1.2.0 
  6. * @param string $output The current post excerpt. 
  7. */ 
  8. echo apply_filters( 'the_excerpt_rss', $output );