Displays the HTML link of the URL of the author of the current comment.
Parameters
$link_textstringoptional- Text to display instead of the comment author’s email address.
Default:
'' $beforestringoptional- Text or HTML to display before the email link.
Default:
'' $afterstringoptional- Text or HTML to display after the email link.
Default:
'' $commentint|WP_Commentoptional- Comment ID or WP_Comment object.
Default is the current comment.
Source
function comment_author_url_link( $link_text = '', $before = '', $after = '', $comment = 0 ) {
echo get_comment_author_url_link( $link_text, $before, $after, $comment );
}
Default Usage
Link Text and Styling
Displays comment author’s URL as text string Visit Site of Comment Author and adds bullets before and after the link to style it.
• Visit Site of Comment Author •