Finding out if a user is the admin
-
I am trying to create a custom page that can only be seen if the user is the admin. Is there a way to find out if a user is the admin WITHOUT the admin panel being displayed? I have tried is_admin() but that only works when the admin panel is showing and I tried the_author_login() but that can only be used within the loop.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Finding out if a user is the admin’ is closed to new replies.