get_comment_excerpt

过滤钩子


apply_filters( 'get_comment_excerpt', $excerpt, $comment->comment_ID, $comment )
参数
  • (string)
    $excerpt
    The comment excerpt text.
    Required:
  • (string)
    $comment_ID
    The comment ID as a numeric string.
    Required:
  • (WP_Comment)
    $comment
    The comment object.
    Required:
定义位置
  • wp-includes/comment-template.php
    , line 631
引入
4.1.0
弃用

Filters the retrieved comment excerpt.

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