Filters the trimmed excerpt string.
Parameters
$text
string- The trimmed text.
$raw_excerpt
string- The text prior to trimming.
Source
return apply_filters( 'wp_trim_excerpt', $text, $raw_excerpt );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
Filters the trimmed excerpt string.
$text
string$raw_excerpt
stringreturn apply_filters( 'wp_trim_excerpt', $text, $raw_excerpt );
Version | Description |
---|---|
2.8.0 | Introduced. |
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.