📅  最后修改于: 2022-03-11 14:54:01.025000             🧑  作者: Mango
get_user_by( string $field, int|string $value )
Example:
$user = get_user_by( 'email', 'user@example.com' );
echo 'User is ' . $user->first_name . ' ' . $user->last_name;