get_super_admins(): string[]
Retrieves a list of super admins.
Return
string[] List of super admin logins.
Source
File: wp-includes/capabilities.php
.
View all references
function get_super_admins() {
global $super_admins;
if ( isset( $super_admins ) ) {
return $super_admins;
} else {
return get_site_option( 'site_admins', array( 'admin' ) );
}
}
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Display a list of super admin users