Title: the_author_email
Published: April 25, 2014
Last modified: April 28, 2025

---

# the_author_email()

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#description)
    - [See also](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#see-also)
 * [Source](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#wp--skip-link--target)

This function has been deprecated since 2.8.0. Use [the_author_meta()](https://developer.wordpress.org/reference/functions/the_author_meta/)
instead.

Display the email of the author of the current post.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#description)󠁿

### 󠀁[See also](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#see-also)󠁿

 * [the_author_meta()](https://developer.wordpress.org/reference/functions/the_author_meta/)

## 󠀁[Source](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#source)󠁿

    ```php
    function the_author_email() {
    	_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'email\')' );
    	the_author_meta('email');
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/deprecated.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/deprecated.php#L1475)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/deprecated.php#L1475-L1478)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#related)󠁿

| Uses | Description | 
| [the_author_meta()](https://developer.wordpress.org/reference/functions/the_author_meta/)`wp-includes/author-template.php` |

Outputs the field from the user’s DB object. Defaults to current post’s author.

  | 
| [_deprecated_function()](https://developer.wordpress.org/reference/functions/_deprecated_function/)`wp-includes/functions.php` |

Marks a function as deprecated and inform when it has been used.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/the_author_email/?output_format=md#changelog)󠁿

| Version | Description | 
| [2.8.0](https://developer.wordpress.org/reference/since/2.8.0/) | Deprecated. Use [the_author_meta()](https://developer.wordpress.org/reference/functions/the_author_meta/)  | 
| [0.71](https://developer.wordpress.org/reference/since/0.71/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fthe_author_email%2F)
before being able to contribute a note or feedback.