get_comment_author_link


get_comment_author_link ( $comment_id = 0 )

Parameters:
  • (int|WP_Comment) comment_id Optional. WP_Comment or the ID of the comment for which to get the author's link. Default current comment.
Returns:
  • (string) The comment author name or HTML link for author's URL.
Defined at:
Change Log:
  • 4: .

Description

Retrieves the HTML link to the URL of the author of the current comment.Both get_comment_author_url() and get_comment_author() rely on get_comment(), which falls back to the global comment variable if the $comment_id argument is empty.

Related Functions

get_comment_author_url_link, get_comment_author_ip, comment_author_link, get_comment_author_url, get_comment_author

Top Google Results

User discussions

wpseek mobile