get_super_admins(): string[]

Retrieves a list of super admins.


Return

string[] List of super admin logins.


Top ↑

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


Top ↑

Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.