Ready to get started?Download WordPress


Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Template Tags/get comment author link

This page is marked as incomplete. You can help Codex by expanding it.


Retrieve the html link to the url of the author of the current comment. Calls get_comment_author_link hook on the complete link HTML or author.


 <?php echo get_comment_author_link$comment_ID ); ?> 


(int) (optional) The ID of the comment for which to get the author's link.
Default: null

Return Value

Comment Author name or HTML link for author's URL

Source File

get comment author link() is located in wp-includes/comment-template.php.