WordPress at a glance
function is not described

get_super_admins() WP 3.0.0

Retrieve a list of super admins.

  • Global. Array. $super_admins

No Hooks.

Return

Array. List of super admin logins

Usage

get_super_admins();

Code of get super admins: wp-includes/capabilities.php WP 5.2.2

<?php
function get_super_admins() {
	global $super_admins;

	if ( isset( $super_admins ) ) {
		return $super_admins;
	} else {
		return get_site_option( 'site_admins', array( 'admin' ) );
	}
}