• Hi,

    I just want to know how can I check that login user is Admin or not. It’s not case of only default admin user because in my site there can be so many admin users, so in my theme i just want to check whether the user who logged in has Administrative rights or not.

    Is there any function through which I can check like:

    if($logged_user == “administrator”) {

    display something
    }
    else
    don’t display these options

    Thanks in advance

    Jimmy

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can check logged in user is Admin’ is closed to new replies.