On this page
apply_filters( 'wp_trim_excerpt', string $text, string $raw_excerpt )
Filters the trimmed excerpt string.
Parameters
$textstring-
The trimmed text.
$raw_excerptstring-
The text prior to trimming.
Source
File: wp-includes/formatting.php. View all references
return apply_filters( 'wp_trim_excerpt', $text, $raw_excerpt );
Related
Used By
| Used By | Description |
|---|---|
| wp_trim_excerpt() wp-includes/formatting.php | Generates an excerpt from the content, if needed. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_trim_excerpt