Filters the text content after words have been trimmed.
$textstring
$num_wordsint
$morestring
$original_textstring
return apply_filters( 'wp_trim_words', $text, $num_words, $more, $original_text );
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_trim_words