Stores the full data in the user cache so they do not need to be loaded again
Returns the user id so you may use get_user() from the returned value
public load_user_by_username ( string $username ) : integer | ||
$username | string | Raw username to load (will be cleaned) |
return | integer | User ID for the username |