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



comment_excerpt › WordPress Filter Hooks

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
  • (string) $comment_id The comment ID as a numeric string.
    Required: Yes
Defined at:
Codex:

Filters the comment excerpt for display.





Source

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