Displays the HTML link of the URL of the author of the current comment.
Parameters
$link_text
stringoptional- Text to display instead of the comment author’s email address.
Default:
''
$before
stringoptional- Text or HTML to display before the email link.
Default:
''
$after
stringoptional- Text or HTML to display after the email link.
Default:
''
$comment
int|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 •