comment_author_link

函数


comment_author_link ( $comment_ID = 0 )
参数
  • (int|WP_Comment)
    $comment_ID
    Optional. WP_Comment or the ID of the comment for which to print the author’s link. Default current comment.
    Required:
定义位置
  • wp-includes/comment-template.php
    , line 254
引入
0.71
弃用

显示当前评论作者的URL的HTML链接。

function comment_author_link( $comment_ID = 0 ) {
	echo get_comment_author_link( $comment_ID );
}