Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Obtener datos de usuario registrado en WordPress

<?php $user_info = get_userdata(1);
      $username = $user_info->user_login;
      $first_name = $user_info->first_name;
      $last_name = $user_info->last_name;
      echo "$first_name $last_name logs into her WordPress site with the user name of $username.";
?>
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #Obtener #datos #de #usuario #registrado #en #WordPress
ADD COMMENT
Topic
Name
5+2 =