WordPress开发者和主题制作者的搜索引擎



comment_email ›

Since4.1.0
已弃用n/a
apply_filters( 'comment_email', $comment->comment_author_email, $comment )
参数: (2)
  • (string) $comment_author_email The comment author's email address.
    Required: Yes
  • (WP_Comment) $comment The comment object.
    Required: Yes
定义在:
文档:

Filters the comment author's email for display.

Care should be taken to protect the email address and assure that email harvesters do not capture your commenter's email address.





源码

$email = apply_filters( 'comment_email', $comment->comment_author_email, $comment );