1. Home
  2. Documentation
  3. WP Admin Audit
  4. Settings
  5. User accounts
  6. Auto-adjust inactive accounts

Auto-adjust inactive accounts

You can define that user accounts of specific roles that are inactive for a specified period will be adjusted to a different user role.

Here is how you set this up for your WordPress users.

Demote inactive administrators

In this example, we want Administrator accounts that are inactive for 30 days, to be automatically changed to the Subscriber user role.

  • Open the settings in WP Admin Audit
    WP Admin Audit settings
  • Select the “User accounts” tab
    WP Admin Audit - User accounts settings (tab)
  • Enable the checkbox to auto-adjust inactive accounts
    WP Admin Audit - User accounts settings - Enable the auto-adjustment of inactive accounts
  • Select all user roles in scope for the auto-adjustment.
    In our example, we choose WordPress’ Administrator user role. You can of course also choose multiple roles here.
    WP Admin Audit - User accounts settings - Auto-adjust inactive accounts of WordPress user roles selected in the scope
  • Choose the grace period until the user role auto-adjustment should become active.
    In our example, we allow inactivity periods of up until 30 days.
    WP Admin Audit - User accounts settings - auto-adjust inactive accounts after 30 days
  • Now select the user role the identified inactive administrators should be changed to.
    In our example, we choose the Subscriber user role. Alternatively, the user accounts can also be deactivated when No role is selected instead.
    WP Admin Audit - User accounts settings - auto-adjust inactive accounts to selected WordPress user role
  • Make sure to save the settings

Identify inactive WordPress accounts

While the auto-adjust inactive accounts feature is powerful and fully automated, you may choose to also do some manual assessment of inactive WordPress user and admin accounts. This is where the respective User Audit functionality really shines.

Was this article helpful to you? No Yes

How can we help?