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
4.5.0 Introduced the $post parameter.
1.2.0 Introduced.