apply_filters( 'get_the_excerpt', string $post_excerpt, WP_Post $post )

Filters the retrieved post excerpt.


Parameters

$post_excerpt

(string) The post excerpt.

$post

(WP_Post) Post object.


Source

File: wp-includes/post-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.5.0 Introduced the $post parameter.
WP-1.2.0 Introduced.