comment_author_url_link( string $link_text = , string $before = , string $after = , int|WP_Comment $comment )

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 );
}

Changelog

VersionDescription
4.6.0Added the $comment parameter.
0.71Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.