the_excerpt_embed()WP 4.4.0

Displays the post excerpt for the embed template.

Intended to be used in 'The Loop'.

Хуки из функции

Возвращает

null. Ничего (null).

Использование

the_excerpt_embed();

Список изменений

С версии 4.4.0 Введена.

Код the_excerpt_embed() WP 6.4.3

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