get_the_author_email
Retrieve the email of the author of the current post.
Description
(string) get_the_author_email();
Returns (string)
The author's username.
Usage
if ( !function_exists( 'get_the_author_email' ) ) { require_once ABSPATH . WPINC . '/deprecated.php'; } // NOTICE! Understand what this does before running. $result = get_the_author_email();
Defined (1)
The function is defined in the following location(s).
- /wp-includes/deprecated.php
- function get_the_author_email() {
- _deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'email\')' );
- return get_the_author_meta('email');
- }