WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/grant super admin

Contents

Description

Add a user to the Super admin user list in WordPress Multisite

Usage

 <?php grant_super_admin$user_id ); ?> 

Parameters

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

Returns

(BOOLEAN) 
True if successful, false otherwise

Changelog

Since: Wordpress 3.0.0

Source Code

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

Related

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