wp_trim_words – filter
Filters the text content after words have been trimmed.
Parameters
- .
- ( 3.3.0 ) . .
- $text
- ( string ) The trimmed text. . . .
- ( int ) $num_words The number of words to trim the text to. Default 55. . . .
- $more
- ( string ) An optional string to append to the end of the trimmed text, e.g. …. . . .
- $original_text
- ( string ) The text before it was trimmed. . . .