the_excerpt_embed

Displays the post excerpt for the embed template.

Description

the_excerpt_embed(); 

Intended to be used in The Loop..


Usage

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

Defined (1)

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

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