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
I’m also curious what user level the super admin is? I know the admin is level 10 – did they make a level 11? 🙂
- The topic ‘current_user_can with Super Admin?’ is closed to new replies.