1. 首页
  2. WordPress 函数手册

comment_author_link()

comment_author_link( int|WP_Comment $comment_ID )

显示指向当前注释作者的URL的HTML链接。
Displays the HTML link to the URL of the author of the current comment.

目录锚点:#参数#返回#源码


参数(Parameters)

参数 类型 必填 说明
$comment_ID (int | WP_Comment) 可选 WP_Comment或要打印作者链接的注释的ID。默认当前注释。

返回(Return)

无返回值


源码(Source)


更新版本 源码位置 使用 被使用
4.4.0 wp-includes/comment-template.php:253 2 1 function

comment_author_link() 为WP2原创文章,链接:https://www.wp2.cn/functions/comment_author_link/