WordPress.org

Ready to get started?Download WordPress

Codex

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

WPMU Functions/is site admin


This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use any of these functions instead.

Description

Checks to see if the specified username is a member of the site admin.

Replace With

Parameters

$user_login
(string) (optional) The username to be checked.
Default: false

Return Values

(boolean) 
True, if user is a site admin, else false.

Usage

<?php is_site_admin($user_login); ?>

Change Log