get_user_details

Deprecated functionality to retrieve user information.

Description

get_user_details( (string) $username ); 

Parameters (1)

0. $username (string)
The username.

Usage

  1. if ( !function_exists( 'get_user_details' ) ) { 
  2. require_once ABSPATH . WPINC . '/ms-deprecated.php'; 
  3.  
  4. // The username. 
  5. $username = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = get_user_details($username); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/ms-deprecated.php  
  1. function get_user_details( $username ) { 
  2. _deprecated_function( __FUNCTION__, '3.0.0', 'get_user_by()' ); 
  3. return get_user_by('login', $username);