the_excerpt WordPress Filter Hook
The the_excerpt WordPress hook is one of the most commonly used hooks in WordPress. It allows you to specify what content should be displayed in the excerpt for a post or page. This hook is generally used in conjunction with the_content hook to display a post or page's excerpt on the front end of a WordPress site.
apply_filters( 'the_excerpt', string $post_excerpt ) #
Filters the displayed post excerpt.
Description
See also
Parameters
- $post_excerpt
(string)The post excerpt.
Source
Changelog
Version | Description |
---|---|
0.71 | Introduced. |