comment_excerpt

过滤钩子


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

Filters the comment excerpt for display.

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