1. 首页
  2. WordPress 函数手册

comment_author_url()

comment_author_url( int|WP_Comment $comment_ID )

显示当前注释的作者的URL,未链接。
Displays the URL of the author of the current comment, not linked.

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


参数(Parameters)

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

返回(Return)

无返回值


源码(Source)


更新版本 源码位置 使用 被使用
4.4.0 wp-includes/comment-template.php:338 0 4

笔记(Notes)

从Codex迁移的示例:

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