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.


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

Replace With


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

Return Values

True, if user is a site admin, else false.


<?php is_site_admin($user_login); ?>

Change Log