W3cubDocs

/WordPress

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

File: wp-includes/comment-template.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_excerpt_length