get_comment_author_url_link
get_comment_author_url_link ( $link_text = '', $before = '', $after = '', $comment = 0 )
Parameters:- (string) link_text Optional. The text to display instead of the comment author's email address. Default empty.
- (string) before Optional. The text or HTML to display before the email link. Default empty.
- (string) after Optional. The text or HTML to display after the email link. Default empty.
- (int|WP_Comment) comment Optional. Comment ID or WP_Comment object. Default is the current comment.
Returns:- (string) The HTML link between the $before and $after parameters.
Defined at:Change Log: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Retrieves the HTML link of the URL of the author of the current comment.$link_text parameter is only used if the URL does not exist for the comment
author. If the URL does exist then the URL will be used and the $link_text
will be ignored.
Encapsulate the HTML link between the $before and $after. So it will appear
in the order of $before, link, and finally $after.