determining if the user is logged in April 23, 2022 by Tarik Billa Use the is_user_logged_in() conditional tag (Codex ref) to determine if the current user is logged in. Use the get_userdata() function (Codex ref) to return user data.