the_excerpt

Display the post excerpt.

Description

the_excerpt(); 

Usage

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

Defined (1)

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

/wp-includes/post-template.php  
  1. function the_excerpt() { 
  2.  
  3. /** 
  4. * Filters the displayed post excerpt. 
  5. * @since 0.71 
  6. * @see get_the_excerpt() 
  7. * @param string $post_excerpt The post excerpt. 
  8. */