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.

  • Since 4.6.0 Added the $comment parameter.

No Hooks.

Return

Nothing (null).

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

Code of comment_author_url_link: wp-includes/comment-template.php VER 4.9.8

<?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