WordPress at a glance
function is not described

get_the_author_login() WP 1.5.0

Deprecated in 2.8.0. It is no longer supported and can be removed in future releases. Use get_the_author_meta() instead.

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

  • See: get_the_author_meta()

No Hooks.


String. The author's login name (username).



Code of get the author login: wp-includes/deprecated.php WP 5.2.2

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