A WordPress-centric search engine for devs and theme authors



comment_excerpt_length ›

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

Filters the amount of words used in the comment excerpt.





Source

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