WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/revoke super admin

Contents

Description

Remove a user from the Super admin user list in WordPress Multisite

Usage

 <?php revoke_super_admin$user_id ); ?> 

Parameters

$user_id
(integer) (required) The user ID to revoke super admin privileges
Default: None

Returns

(BOOLEAN) 
True if successful, false otherwise

Changelog

Since: Wordpress 3.0.0

Source Code

revoke_super_admin() is located in wp-admin/includes/ms.php.

Related

See also index of Function Reference and index of Template Tags.