I am getting people's first and last names this way:
$_UFName = get_user_meta($_uid, 'first_name', true);
$_ULName = get_user_meta($_uid, 'last_name', true);
where
$_uid
is the persons id I pulled in a query from the users table.
How do I get their username? this code:
$_UUName = get_user_meta($_uid, 'user_login', true);
that is not working. It is blank.
Is there a way to get it from the user meta?
thx, Richard