static function get_other_linked_admins()
{
$other_linked_users = get_transient('jetpack_other_linked_admins');
if (false === $other_linked_users) {
$admins = get_users(array('role' => 'administrator'));
if (count($admins) > 1) {
$available = array();
foreach ($admins as $admin) {
if (Jetpack::is_user_connected($admin->ID)) {
$available[] = $admin->ID;
}
}
$count_connected_admins = count($available);
if (count($available) > 1) {
$other_linked_users = $count_connected_admins;
} else {
$other_linked_users = 0;
}
} else {
$other_linked_users = 0;
}
set_transient('jetpack_other_linked_admins', $other_linked_users, HOUR_IN_SECONDS);
}
return 0 === $other_linked_users ? false : $other_linked_users;
}