WPDev.one
Core Function
View Source on Trac ↗

comment_author_email_link()

comment_author_email_link( mixed $link_text = '', mixed $before = '', mixed $after = '', mixed $comment = null )

Displays the HTML email link to the author of the current comment.

Parameters 2 required

Name / Type Description
string

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

Required
$before
string

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

$after
string

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

(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