the_excerpt_embed()
Displays the post excerpt for the embed template.
Description
Intended to be used in ‘The Loop’.
Source
File: wp-includes/embed.php
function the_excerpt_embed() {
$output = get_the_excerpt();
/**
* Filters the post excerpt for the embed template.
*
* @since WP-4.4.0
*
* @param string $output The current post excerpt.
*/
echo apply_filters( 'the_excerpt_embed', $output );
}
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |