WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/revoke super admin

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.