get_the_author_login

函数


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

Retrieve the login name of the author of the current post.

function get_the_author_login() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta('login')' );
	return get_the_author_meta('login');
}