get_comment_author_email

过滤钩子


apply_filters( 'get_comment_author_email', $comment->comment_author_email, $comment->comment_ID, $comment )
参数
  • (string)
    $comment_author_email
    The comment author’s email address.
    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 100
引入
4.1.0
弃用

Filters the comment author’s returned email address.

return apply_filters( 'get_comment_author_email', $comment->comment_author_email, $comment->comment_ID, $comment );