Viewing 4 replies - 1 through 4 (of 4 total)
  • 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: https://wpaam.com/forum/viewtopic.php?f=9&t=38#p104

    Regards,
    Vasyl

    Thread Starter Oscar Estepa

    (@estepix)

    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.

    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

    Thread Starter Oscar Estepa

    (@estepix)

    ok thanks!

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