Advertisements

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

Advertisements

2 Responses to “get_the_author_email”

  1. 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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: