首页 WordPress函数大全 comment_author_email_link()

comment_author_email_link()

2020-05-01 / 2050阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

comment_author_email_link( string $linktext = '', string $before = '', string $after = '', int|WP_Comment $comment = null )

Displays the HTML email link to the author of the current comment.

描述

Care should be taken to protect the email address and assure that email harvesters do not capture your commenter’s email address. Most assume that their email address will not appear in raw form>

参数

$linktext

(string)
(Optional)
Text to display instead of the comment author's email address.

Default value: ''

$before

(string)
(Optional)
Text or HTML to display before the email link.

Default value: ''

$after

(string)
(Optional)
Text or HTML to display after the email link.

Default value: ''

$comment

(int|WP_Comment)
(Optional)
Comment ID or WP_Comment object. Default is the current comment.

Default value: null

大家谈论
    我的见解