get_the_author_login(): string

This function has been deprecated. Use get_the_author_meta() instead.

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

Description

See also

Return

string The author’s login name (username).

Source

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

Changelog

VersionDescription
2.8.0Use get_the_author_meta()
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.