WordPress评论者邮箱链接标签:comment_author_email_link

WordPress模板标签comment_author_email_link用于输出评论作者的邮箱链接,通常用于自定义评论模板中。

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

函数参数

$linktext

字符串值,默认值:评论作者的Email

提供一个文本作为链接的锚文本

$before

字符串值,默认值为空

链接前的文本(不可点击)

$after

字符串值,默认值为空

链接后的文本(不可点击)

函数使用示例

Email: 

扩展阅读

comment_author_email_link()函数位于:wp-includes/comment-template.php

相关函数:

原创文章,作者:,如若转载,请注明出处:https://ce.771633.xyz/2139.html

Like (0)
Previous 2025年3月8日
Next 2025年3月8日

相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注