• Resolved housebg

    (@housebg)


    I’m trying to block access to some menu items for everyone who is not the Super Admin on my site. I know there are plugins available, but I’m trying to do this old school for my own eduction.

    If I use current_user_can('administrator') will that only affect the admin of the site and not the Super Admin? Is there the ability to do
    !current_user_can('super admin') ?

    I’m also curious what user level the super admin is? I know the admin is level 10 – did they make a level 11? ??

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘current_user_can with Super Admin?’ is closed to new replies.