Definition:
function get_the_excerpt( $deprecated = '' ) {}
Retrieve the post excerpt.
Parameters
- mixed $deprecated: Not used.
Defined filters
- get_the_excerpt
apply_filters('get_the_excerpt', $output)
Source code
function get_the_excerpt( $deprecated = '' ) {
if ( !empty( $deprecated ) )
_deprecated_argument( __FUNCTION__, '2.3' );
global $post;
$output = $post->post_excerpt;
if ( post_password_required($post) ) {
$output = __('There is no excerpt because this is a protected post.');
return $output;
}
return apply_filters('get_the_excerpt', $output);
}
1829

February 12, 2011 


No comments yet... Be the first to leave a reply!