WordPress at a glance
function is not described

get_super_admins() WP 3.0.0

Retrieve a list of super admins.

No Hooks.

Return

String[]. List of super admin logins.

Usage

get_super_admins();

Notes

  • Global. Array. $super_admins

Changelog

Since 3.0.0 Introduced.

Code of get_super_admins() WP 5.5.1

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

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