A WordPress-centric search engine for devs and theme authors



comment_excerpt ›

Since4.1.0
Deprecatedn/a
apply_filters( 'comment_excerpt', $comment_excerpt, $comment->comment_ID )
Parameters: (2)
  • (string) $comment_excerpt The comment excerpt text.
    Required: Yes
  • (int) $comment_ID The comment ID.
    Required: Yes
Defined at:
Codex:

Filters the comment excerpt for display.





Source

echo apply_filters( 'comment_excerpt', $comment_excerpt, $comment->comment_ID );