函数原型:
comment_author_email_link( string $linktext = '', string $before = '', string $after = '', int|WP_Comment $comment = null )
参数说明:
参数名 | 描述 |
---|---|
$linktext | 要显示的文本,而不是评论作者的电子邮件地址。 |
$before | 要在电子邮件链接之前显示的文本或HTML。 |
$after | 要在电子邮件链接后显示的文本或HTML。 |
$comment | 评论ID或WP_Comment对象。默认为当前评论。 |
函数源码:
function comment_author_email_link( $linktext = '', $before = '', $after = '', $comment = null ) { $link = get_comment_author_email_link( $linktext, $before, $after, $comment ); if ( $link ) { echo $link; } }
调用方法:
邮箱: <?php comment_author_email_link(); ?>
上面是“wordpress建站如何显示评论作者的email链接”的全面内容,想了解更多关于 wordpress 内容,请继续关注web建站教程。
当前网址:https://ipkd.cn/webs_4639.html
workflows工作流
一个红头发明亮眼睛的漂亮女人
沙漠里一只红黑相间的蝎子
一辆停在混凝土墙前运动型SUV捷豹概念车
迷人的月光,发光的花朵
森林里有一个皮肤像抛光黑曜石的生物
一只漂亮的孔雀的尾巴完全由披萨制成ComfyUI工作流
一个港口配备了小型船只、起重机、集装箱和码头
一位身穿金色铠甲的美丽女子守卫在寺庙外
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!