the_excerpt

函数


the_excerpt ( No parameters )
定义位置
  • wp-includes/post-template.php
    , line 385
引入
0.71
弃用

Displays the post excerpt.

function the_excerpt() {

	/**
	 * Filters the displayed post excerpt.
	 *
	 * @since 0.71
	 *
	 * @see get_the_excerpt()
	 *
	 * @param string $post_excerpt The post excerpt.
	 */
	echo apply_filters( 'the_excerpt', get_the_excerpt() );
}