get_the_author_login()
最后更新于:2021-11-27 01:15:18
get_the_author_login()Retrieve the login name of the author of the current post.
响应
(string) The author’s login name (username).
源文件
文件: gc-includes/deprecated.php
function get_the_author_login() {
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta('login')' );
return get_the_author_meta('login');
}