WordPress.org

Support

Support » Plugins and Hacks » [Resolved] How to check for superadmin

[Resolved] How to check for superadmin

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Vasyltech

    @vasyl_m

    Hi Oscar,
    AAM now is way more closer to WordPress Core than previous versions. So for your purposes you can use WordPress core function is_super_admin.
    Also you might find this topic a little bit useful: http://wpaam.com/forum/viewtopic.php?f=9&t=38#p104

    Regards,
    Vasyl

    Hi the link you posted does not seem to work.

    I ave tried is_super_admin(), however it does not differentiate between my main admin and other admins on the site, they are all considered superadmins.

    By the way, I’m not using wordpress multisite.

    Plugin Author Vasyltech

    @vasyl_m

    HI estepix,
    This is how WordPress works my friend. There is no such a thing as super admin for single blog. In general super admin is someone who can delete_users. If you uncheck this capability for any user, they will not be treated as Super Admin any more.

    Regards,
    Vasyl

    ok thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] How to check for superadmin’ is closed to new replies.