Is there a way to use is_user_logged_in() to return true only if the user is an admin? I'm looking for a way to check if the user is logged and that they are an admin.
Is there a way to use is_user_logged_in() to return true only if the user is an admin? I'm looking for a way to check if the user is logged and that they are an admin.
That's just what I needed—thank you ;)
You must log in to post.