Topic: Check if user is Admin
I want to make a simple function isAdmin() that just checks whether the current user is an admin or not as defined with the PUN_ADMIN, but it seems anything I try keeps saying they are admin...even if they are logged out.
If anyone would help me out, it would be appreciated.
Thanks in advance.