W3cubDocs

/WordPress

the_author_email()

Display the email of the author of the current post.

Description

See also

Source

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

Changelog

Version Description
2.8.0 Use the_author_meta()
0.71 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_author_email