Retrieve the post excerpt.
Signature
get_the_excerpt( $deprecated = '' )
- deprecated
- (mixed) Not used.
Default:''
Return
(string)
Source
function get_the_excerpt( $deprecated = '' ) {
if ( !empty( $deprecated ) )
_deprecated_argument( __FUNCTION__, '2.3' );
$post = get_post();
if ( post_password_required() ) {
return __( 'There is no excerpt because this is a protected post.' );
}
return apply_filters( 'get_the_excerpt', $post->post_excerpt );
}
WP Trac GitHub Bitbucket
Link here
-
URL
http://queryposts.com/function/get_the_excerpt/ -
HTML
<a href='http://queryposts.com/function/get_the_excerpt/'>get_the_excerpt()</a> -
Markdown
[get_the_excerpt()](http://queryposts.com/function/get_the_excerpt/) -
BBCode
[url=http://queryposts.com/function/get_the_excerpt/]get_the_excerpt()[/url]