Find a user by ID/email or automatically detect the current logged-in/author page user.
$user = CFGP_U::get_user(); // Auto (logged-in or author) $user2 = CFGP_U::get_user(123); // By ID $user3 = CFGP_U::get_user('user@mail.tld'); // By email if ( $user ) { // $user->ID, $user->user_email, ... }