wpseek.com
A WordPress-centric search engine for devs and theme authors



get_super_admins › WordPress Function

Since3.0.0
Deprecatedn/a
get_super_admins ( No parameters )
Returns:
  • (string[]) List of super admin logins.
Defined at:
Codex:

Retrieves a list of super admins.



Source

function get_super_admins() {
	global $super_admins;

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