Languages:
English •
日本語
(Add your language)
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