get_user_details
Deprecated functionality to retrieve user information.
Description
get_user_details( (string) $username );
Parameters (1)
- 0. $username (string)
- The username.
Usage
if ( !function_exists( 'get_user_details' ) ) { require_once ABSPATH . WPINC . '/ms-deprecated.php'; } // The username. $username = ''; // NOTICE! Understand what this does before running. $result = get_user_details($username);
Defined (1)
The function is defined in the following location(s).
- /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);
- }