[resolved] current_user_can with Super Admin? (3 posts)

  1. housebg
    Posted 4 years ago #

    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? :-)

  2. housebg
    Posted 4 years ago #

    Oh Thank You, might Half-Elf! :-) Absolutely perfect.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.