comment_author_link()

最后更新于:2021-11-25 20:55:25

comment_author_link( int|GC_Comment$comment_ID)

Displays the HTML link to the URL of the author of the current comment.

参数

$comment_ID

(int|GC_Comment) (Optional) GC_Comment or the ID of the comment for which to print the author’s link. Default current comment.

源文件

文件: gc-includes/comment-template.php

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