apply_filters( 'wp_trim_excerpt', string $text , string $raw_excerpt )
Filters the trimmed excerpt string.
Description Description
Parameters Parameters
- $text
-
(string) The trimmed text.
- $raw_excerpt
-
(string) The text prior to trimming.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
This disables the attempt to return an automatically generated excerpt in the scenario where one isn’t manually set.