Here is a quick snippet to get all user meta data by email address in WordPress. The following code will print all user meta data for given email address in wordpress.

$user = get_user_by( 'email', $email_address );
$user_id=$user->ID;
$all_meta_for_user = get_user_meta( $user_id );
print_r( $all_meta_for_user );

Have any doubt, then comment here!

Leave a Reply

Your email address will not be published. Required fields are marked *