On this page
apply_filters( 'comment_excerpt_length', int $comment_excerpt_length )
Filters the maximum number of words used in the comment excerpt.
Parameters
$comment_excerpt_lengthint-
The amount of words you want to display in the comment excerpt.
Source
File: wp-includes/comment-template.php. View all references
$comment_excerpt_length = apply_filters( 'comment_excerpt_length', $comment_excerpt_length );
Related
Used By
| Used By | Description |
|---|---|
| get_comment_excerpt() wp-includes/comment-template.php | Retrieves the excerpt of the given comment. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_excerpt_length