The Delete Inactive Users WordPress plugin is a robust tool designed to help administrators efficiently manage user accounts by deleting inactive users based on their role and last login date.
Ideal for optimizing database performance and maintaining user data hygiene, this plugin allows you to configure custom settings and batch process large datasets.
- Customizable Role Selection: Choose specific user roles to target for deletion.
- Date-Based Inactivity: Delete users who have not logged in since a specified date.
- Batch Processing: Handles large datasets efficiently by processing users in batches.
- Progress Feedback: Real-time progress bar and status messages during the deletion process.
- Safe Operations: Includes nonce verification and safeguards to ensure only authorized actions are performed.
- Download the plugin from the GitHub repository.
- Upload the plugin files to the
/wp-content/plugins/delete-inactive-users/
directory or install via the WordPress admin panel. - Activate the plugin through the 'Plugins' screen in WordPress.
- Navigate to
Tools > Delete Users
in the WordPress admin panel to configure and use the plugin.
-
Access the Settings Page
- Go to
Tools > Delete Users
in the WordPress admin menu.
- Go to
-
Select User Role
- Choose the user role you want to target for deletion from the dropdown.
-
Set Cutoff Date
- Use the date picker to specify the last login cutoff date. Users who have not logged in since this date will be targeted.
-
Start Deletion
- Click the "Start Deletion" button. A progress bar and status messages will provide real-time updates.
-
Completion Notification
- Once the process is complete, a success message will be displayed.
Contributions are welcome! Please fork the repository and submit a pull request.
- Fork the repository.
- Create a feature branch (
git checkout -b feature/feature-name
). - Commit your changes (
git commit -m 'Add feature'
). - Push to the branch (
git push origin feature-name
). - Open a pull request.
This plugin is licensed under the GPL-2.0+ License. See the LICENSE file for details.
For support or inquiries, please open an issue on the GitHub repository.