Raised This Month: $ Target: $400
 0% 

Alternative to is_user_admin() ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
devWaleed
Member
Join Date: Apr 2013
Location: Karachi, Pakistan
Old 04-17-2013 , 17:16   Re: Alternative to is_user_admin() ?
Reply With Quote #1

Ok, but I couldn't find it in funcwiki. Tell me if I am doing this wrong.

To check if user is not an admin.

PHP Code:
if(!is_user_admin(id))  OR  if(is_user_admin(id) == 0
which one is correct? I think both.

Last edited by devWaleed; 04-17-2013 at 17:17.
devWaleed is offline
Send a message via Skype™ to devWaleed
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode