check site administrator plugin (3 posts)

  1. antony.carvalho
    Posted 4 years ago #

    Hello !

    Does someone knows how to make a plugin that can check if the current user is a site administrator? I mean each site administrator and not super admin.

    Thanks !

  2. antony.carvalho
    Posted 4 years ago #

    I tried something like this:

    /if ( !current_user_can( 'manage_options' ) )

    But it will check if the user is super amin. I need to check if it's subsite admin !

    Please help!

  3. http://codex.wordpress.org/Roles_and_Capabilities

    Mind, Super Admin is admin + extra, so the super admin is always going to show up.

Topic Closed

This topic has been closed to new replies.

About this Topic