get_the_author_email

函数


get_the_author_email ( No parameters )
返回值
  • (string) The author’s username.
相关
  • get_the_author_meta()
定义位置
  • wp-includes/deprecated.php
    , line 1461
引入
1.5.0
弃用
2.8.0

Retrieve the email of the author of the current post.

function get_the_author_email() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta('email')' );
	return get_the_author_meta('email');
}