get_user_details()WP 3.0.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. Use get_user_by() instead.

Deprecated functionality to retrieve user information.

No Hooks.

Return

null. Nothing (null).

Usage

get_user_details( $username );
$username(string) (required)
Username.

Notes

Changelog

Since 3.0.0 Introduced.
Deprecated since 3.0.0 Use get_user_by()

get_user_details() code WP 6.5.4

function get_user_details( $username ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'get_user_by()' );
	return get_user_by('login', $username);
}