wpseek.com
A WordPress-centric search engine for devs and theme authors



comment_excerpt_length › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( 'comment_excerpt_length', $comment_excerpt_length )
Parameters:
  • (int) $comment_excerpt_length The amount of words you want to display in the comment excerpt.
    Required: Yes
Defined at:
Codex:

Filters the maximum number of words used in the comment excerpt.





Source

$comment_excerpt_length = apply_filters( 'comment_excerpt_length', $comment_excerpt_length );