the_excerpt_embed()

Displays the post excerpt for the embed template.


Description

Intended to be used in ‘The Loop’.


Top ↑

Source

File: wp-includes/embed.php. View all references

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

Top ↑

Hooks



Top ↑

Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.