get_user_details

Advertisement

Deprecated Deprecated

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

Summery Summery

Deprecated functionality to retrieve user information.

Syntax Syntax

get_user_details( string $username )

Parameters Parameters

$username

(Required) Username.

Source Source

File: wp-includes/ms-deprecated.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Use get_user_by()
MU (3.0.0) Introduced.

See also See also

Advertisement

Leave a Reply