apply_filters( 'comment_excerpt_length', int $comment_excerpt_length )
Filters the maximum number of words used in the comment excerpt.
Parameters
- $comment_excerpt_length
-
(int) The amount of words you want to display in the comment excerpt.
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_excerpt_length