WPDev.one
Core Function
View Source on Trac ↗

comment_author_url_link()

comment_author_url_link( mixed $link_text = '', mixed $before = '', mixed $after = '', mixed $comment = 0 )

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

Parameters 4 required

Name / Type Description
string

$link_text Optional. Text to display instead of the comment author's email address. Default empty.

Required
string

$before Optional. Text or HTML to display before the email link. Default empty.

Required
string

$after Optional. Text or HTML to display after the email link. Default empty.

Required
mixed

(int | WP_Comment) $comment Optional. Comment ID or WP_Comment object. Default is the current comment.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
0.71
Source File
wp-includes/comment-template.php
Advertisement