WordPress.org

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Template Tags/get comment author email link

This page is marked as incomplete. You can help Codex by expanding it.

Description

Return the html email link to the author of the current comment.

Usage

 <?php $author get_comment_author_email_link$linktext$before$after ); ?> 

Parameters

$linktext
(string) (optional) Text to display instead of the comment author's email address.
Default: empty
$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

Return Values

(string) 
The comment author's email address with HTML email link.

Examples

Notes

Uses: (global) $comment

Change Log

Since: 2.7.0

Source File

get_comment_author_email_link() is located in wp-includes/comment-template.php.

Related