get_the_excerpt


get_the_excerpt ( $post = null )

Parameters:
  • (int|WP_Post) post Optional. Post ID or WP_Post object. Default is global $post.
Returns:
  • (string) Post excerpt.
Defined at:
Change Log:
  • 4: .

Description

Retrieves the post excerpt.

Related Functions

the_excerpt, get_comment_excerpt, get_the_generator, the_excerpt_rss, get_the_terms

Top Google Results

User discussions

wpseek mobile