the_excerpt_embed()
Displays the post excerpt for the embed template.
Intended to be used in 'The Loop'.
Hooks from the function
Returns
null. Nothing (null).
Usage
the_excerpt_embed();
Changelog
| Since 4.4.0 | Introduced. |
the_excerpt_embed() the excerpt embed code WP 6.9.1
function the_excerpt_embed() {
$output = get_the_excerpt();
/**
* Filters the post excerpt for the embed template.
*
* @since 4.4.0
*
* @param string $output The current post excerpt.
*/
echo apply_filters( 'the_excerpt_embed', $output );
}