
适合初学者和专业人士CSS备忘单
apply_filters( 'get_the_excerpt', $post->post_excerpt, $post )
get_the_excerpt: 这个函数检索当前文章的摘录。摘录是一篇文章的简短摘要,在某些模板或不需要完整的文章内容的情况下使用。
此过滤器记录在wpincludes/post-template.php。
$excerpt = apply_filters( 'get_the_excerpt', $post->post_excerpt, $post );