BetterShield
Appearance

How To Set Sign-in Hours by Role With BetterShield Ultra?

2 min read

Choose allowed weekdays and hours by role, monitor exceptions, then decide whether to refuse out-of-hours sign-ins.

With BetterShield Ultra, choose allowed weekdays and hours by role, monitor exceptions, then decide whether to refuse out-of-hours sign-ins.

Note: These controls require the paid BetterShield Ultra add-on alongside the free BetterShield plugin.

What it does

Open BetterShield › Ultra › Sign-in rules. Sign-in hours by role uses the site’s time zone. No role is restricted by default. BetterShield managers, the site owner, temporary grants and recovery or backup-code sign-ins are excluded as stated on the screen.

Step 1: Open Roles with set hours

Choose Roles with set hours. A newly selected role starts with Monday to Friday, 09:00 to 18:00.

Set sign-in hours by role: saved state and available controls in BetterShield.
Review the state and choices shown on your own site before applying a change.

Step 2: Set sign-in hours by role

  • Choose the permitted days, From and To.
  • Under Outside these hours, start with Let them in, log it and email the account holder. The other choice blocks sign-in and shows allowed hours.
  • Read the last-30-days preview, then select Save Sign-In Hours.

Our advice: monitor first, review the site’s time zone and account for travel, overnight shifts and scheduled work before blocking.

What it can break and how to undo

A legitimate user can be refused outside the saved hours. Remove the role’s restriction or return to the logging choice and save. Test with the affected account while retaining an unrestricted manager session.

Final Outcome

The preview and activity records should distinguish allowed-with-warning and refused attempts. On multisite, the current site’s hours also apply to a session begun on another site.

Set sign-in hours by role: saved state and available controls in BetterShield.
Example Sign-in hours view. Check the saved values and status on your own site.

This is how you can set sign-in hours by role with BetterShield Ultra.

Getting Stuck? Feel free to contact our Dedicated Support Team.

Close the open doors today

Install the free plugin. The first audit runs when you activate it, and all but one of the fixes wait for your choice.

Requires WordPress 6.7 or newer and PHP 8.0 or newer.

Get BetterShield