• Resolved Theopt

    (@theopt)


    This method is only returning to php the current user email 😐 im using like this:

    $autorguide = get_user_by( ‘login’, $name );
    $autoremail = $autorguide->user_email;
    echo $autoremail;

    being name a list of users. but its only returning my email.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get_user_by’ is closed to new replies.