comment_author_email_link()
comment_author_email_link( string $linktext = ”, string…
comment_author_email_link( string $linktext = ”,  string $before = ”,  string $after = ”,  int|WP_Comment $comment = null )
显示指向当前评论作者的HTML电子邮件链接。
Displays the HTML email link to the author of the current comment.
显示指向当前评论作者的HTML电子邮件链接。
Displays the HTML email link to the author of the current comment.
目录锚点:#说明#参数#返回#源码#笔记
说明(Description)
应注意保护电子邮件地址,并确保电子邮件收割机不会捕获您的评论者的电子邮件地址。大多数人认为他们的电子邮件地址不会以原始形式出现在网站上。这样做将使任何人,包括那些人们不想得到电子邮件地址,并使用它为自己的手段好与坏。
参数(Parameters)
| 参数 | 类型 | 必填 | 说明 | 
|---|---|---|---|
| $linktext | (string) | 可选 | 要显示的文本,而不是评论作者的电子邮件地址。 | 
| $before | (string) | 可选 | 要在电子邮件链接之前显示的文本或HTML。 | 
| $after | (string) | 可选 | 在电子邮件链接后显示的文本或HTML。 | 
| $comment | (int | WP_Comment) | 可选 | 注释ID或WP_Comment对象。默认为当前注释。 | 
返回(Return)
无返回值
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 | 
|---|---|---|---|
| 4.6.0 | wp-includes/comment-template.php:151 | 0 | 1 function | 
笔记(Notes)
默认用法
类别:WordPress 函数手册、 
		本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。


还没有任何评论,赶紧来占个楼吧!