Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5527

Chris on "get_var email address query error"

$
0
0

You can get a custom user object without having to query the DB by yourself like this:
$User = get_user_by( 'email', $user_login_email );
$User->ID would then give you the ID, for example.


Viewing all articles
Browse latest Browse all 5527

Trending Articles