the_excerpt_embed

函数


the_excerpt_embed ( No parameters )
定义位置
  • wp-includes/embed.php
    , line 1007
引入
4.4.0
弃用

Displays the post excerpt for the embed template.

Intended to be used in ‘The Loop’.

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