W3cubDocs

/WordPress

apply_filters( ‘the_excerpt’, string $post_excerpt )

Filters the displayed post excerpt.

Description

See also

Parameters

$post_excerptstring
The post excerpt.

Source

echo apply_filters( 'the_excerpt', get_the_excerpt() );

Changelog

Version Description
0.71 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_excerpt