A WordPress-centric search engine for devs and theme authors



get_comment_excerpt ›

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

Filters the retrieved comment excerpt.





Source

return apply_filters( 'get_comment_excerpt', $excerpt, $comment->comment_ID, $comment );