obtener datos de usuario registrado en wordpress

Solutions on MaxInterview for obtener datos de usuario registrado en wordpress by the best coders in the world

showing results for - "obtener datos de usuario registrado en wordpress"
Stefania
30 Mar 2018
1<?php $user_info = get_userdata(1);
2      $username = $user_info->user_login;
3      $first_name = $user_info->first_name;
4      $last_name = $user_info->last_name;
5      echo "$first_name $last_name logs into her WordPress site with the user name of $username.";
6?>
7
Fabrizia
08 Sep 2018
1<?php $user_info = get_userdata(1);
2      echo 'Username: ' . $user_info->user_login . "\n";
3      echo 'User roles: ' . implode(', ', $user_info->roles) . "\n";
4      echo 'User ID: ' . $user_info->ID . "\n";
5?>
6