get_the_author_email

Definition:
function get_the_author_email() {}

Retrieve the email of the author of the current post.

Return values

returns:The author’s username.

Source code

function get_the_author_email() {

	_deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'email\')' );

	return get_the_author_meta('email');

}

1789

2 Responses to “get_the_author_email”

  1. Unknown's avatar

    Hi, I recenlty tried with a wp 3.3 and shows this:
    Fatal error: Cannot redeclare get_the_author_email() (previously declared in /home/srv/www/domain.com/wp-includes/deprecated.php:1472) in /home/srv/www/domain.com/wp-content/themes/mytheme/functions-hacks.php on line 372

    The line is were I put the code.

    Thanx 🙂

Leave a comment