A WordPress-centric search engine for devs and theme authors



get_super_admins ›

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

Retrieve 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' ) );
	}
}