WordPress at a glance

comment_author_url_link() WP 1.0

Displays the HTML link of the url of the author of the current comment.

No Hooks.

Return

Null. Nothing.

Usage

comment_author_url_link( $linktext, $before, $after, $comment );
$linktext(string)
Text to display instead of the comment author's email address.
Default: ''
$before(string)
Text or HTML to display before the email link.
Default: ''
$after(string)
Text or HTML to display after the email link.
Default: ''
$comment(int/WP_Comment)
Comment ID or WP_Comment object.
Default: current comment

Changelog

Since 0.71 Introduced.
Since 4.6.0 Added the $comment parameter.

Code of comment author url link: wp-includes/comment-template.php WP 5.2.4

<?php
function comment_author_url_link( $linktext = '', $before = '', $after = '', $comment = 0 ) {
	echo get_comment_author_url_link( $linktext, $before, $after, $comment );
}

Related Functions

From category: Comments Loop

More from Template Tags: Comments

No comments
    Hello, !     Log In . Register