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

Filters the retrieved post excerpt.


Parameters

$post_excerpt

The post excerpt.

$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.