Documentation

is_super_admin


is_super_admin

Return true if the user is super admin

if( ! User::is_super_admin() )
    die( "Access denied" );