Skip to main content
edited body
Source Link
kovshenin
  • 2.6k
  • 18
  • 20

The username is not a user meta entry, so you'll probably want to work with a WP_User objcetobject instead:

$user = get_user_by( 'id', $_uid );
echo $user->user_login;

The username is not a user meta entry, so you'll probably want to work with a WP_User objcet instead:

$user = get_user_by( 'id', $_uid );
echo $user->user_login;

The username is not a user meta entry, so you'll probably want to work with a WP_User object instead:

$user = get_user_by( 'id', $_uid );
echo $user->user_login;
Source Link
kovshenin
  • 2.6k
  • 18
  • 20

The username is not a user meta entry, so you'll probably want to work with a WP_User objcet instead:

$user = get_user_by( 'id', $_uid );
echo $user->user_login;