the_excerpt_embed()WP 4.4.0

Displays the post excerpt for the embed template.

Intended to be used in 'The Loop'.

Hooks from the function

Return

null. Nothing.

Usage

the_excerpt_embed();

Changelog

Since 4.4.0 Introduced.

Code of the_excerpt_embed() WP 6.0

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 );
}