apply_filters( 'wp_trim_excerpt', string $text, string $raw_excerpt )
Filters the trimmed excerpt string.
Parameters
- $text
-
(string) The trimmed text.
- $raw_excerpt
-
(string) The text prior to trimming.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_trim_excerpt