首页 WordPress函数大全 get_comment_author_link()

get_comment_author_link()

2020-05-01 / 3567阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_comment_author_link( int|WP_Comment $comment_ID )

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

描述

Both get_comment_author_url() and get_comment_author() rely>get_comment(), which falls back to the global comment variable if the $comment_ID argument is empty.

参数

$comment_ID

(int|WP_Comment)
(Optional)
WP_Comment or the ID of the comment for which to get the author's link. Default current comment.

返回

(string) The comment author name or HTML link for author's URL.

大家谈论
    我的见解