Title: Role Based User Deleter
Author: Sakib Hasan
Published: <strong>April 26, 2025</strong>
Last modified: April 26, 2025

---

Search plugins

![](https://ps.w.org/role-based-user-deleter/assets/banner-772x250.png?rev=3442214)

![](https://ps.w.org/role-based-user-deleter/assets/icon-256x256.png?rev=3442214)

# Role Based User Deleter

 By [Sakib Hasan](https://profiles.wordpress.org/sakibhasan/)

[Download](https://downloads.wordpress.org/plugin/role-based-user-deleter.1.0.0.zip)

 * [Details](https://lin.wordpress.org/plugins/role-based-user-deleter/#description)
 * [Reviews](https://lin.wordpress.org/plugins/role-based-user-deleter/#reviews)
 *  [Installation](https://lin.wordpress.org/plugins/role-based-user-deleter/#installation)
 * [Development](https://lin.wordpress.org/plugins/role-based-user-deleter/#developers)

 [Support](https://wordpress.org/support/plugin/role-based-user-deleter/)

## Description

Role Based User Deleter is a lightweight and efficient WordPress plugin that allows
administrators to delete users based on their roles. This plugin provides a simple
and secure way to manage user accounts, ensuring that you can easily remove users
who no longer need access to your site.

**Features:**
 – Delete users based on selected roles (excluding administrators 
for safety). – User-friendly admin interface with a professional design. – Displays
the total number of users for each role in the dropdown. – Secure deletion process
with nonce verification. – Success message after user deletion with the count of
deleted users.

### Support

For support, visit the [plugin support forum](https://wordpress.org/support/plugin/role-based-user-deleter).

### Credits

Developed by Sakib Hasan (https://profiles.wordpress.org/sakibhasan/).

## Installation

### From the WordPress Dashboard

 1. Navigate to the **Plugins** menu in your WordPress admin dashboard.
 2. Click **Add New** and search for “Role Based User Deleter.”
 3. Click **Install Now** next to the plugin.
 4. Once installed, click **Activate** to enable the plugin.

### Manual Upload

 1. Download the `role-based-user-deleter.zip` file from the WordPress plugin repository.
 2. Navigate to the **Plugins** menu in your WordPress admin dashboard.
 3. Click **Add New** and then click **Upload Plugin**.
 4. Select the downloaded `role-based-user-deleter.zip` file and click **Install Now**.
 5. Once installed, click **Activate** to enable the plugin.

## FAQ

### Is it safe to use this plugin?

Yes, the plugin excludes administrators from being deleted and uses nonce verification
for secure form submissions.

### Can I undo the deletion of users?

No, once users are deleted, the action cannot be undone. Please proceed with caution.

### Does this plugin support multisite?

Currently, the plugin is designed for single-site installations only.

## Reviews

![](https://secure.gravatar.com/avatar/7abb9352ed83687e27d8e22866673c5829465edb92969606e576b8c19fcdc800?
s=60&d=retro&r=g)

### 󠀁[User deleter throws a memory exausted error on the plugins page](https://wordpress.org/support/topic/user-deleter-throws-a-memory-exausted-error-on-the-plugins-page/)󠁿

 [oborvanec](https://profiles.wordpress.org/oborvanec/) April 16, 2026

I can’t recommend it, because on mine site is trows an error: PHP Fatal error: Allowed
memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/
mercilin/public_html/wp-includes/class-wpdb.php on line 2328 The base contains approx
15k users.

 [ Read all 1 review ](https://wordpress.org/support/plugin/role-based-user-deleter/reviews/)

## Contributors & Developers

“Role Based User Deleter” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Sakib Hasan ](https://profiles.wordpress.org/sakibhasan/)

[Translate “Role Based User Deleter” into your language.](https://translate.wordpress.org/projects/wp-plugins/role-based-user-deleter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/role-based-user-deleter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/role-based-user-deleter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/role-based-user-deleter/)
by [RSS](https://plugins.trac.wordpress.org/log/role-based-user-deleter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.
 * Added functionality to delete users based on roles.
 * Excluded administrators for safety.
 * Added nonce verification for secure form submissions.

## Meta

 *  Version **1.0.0**
 *  Last updated **12 months ago**
 *  Active installations **10+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/role-based-user-deleter/)
 * Tags
 * [Admin Tools](https://lin.wordpress.org/plugins/tags/admin-tools/)[delete users](https://lin.wordpress.org/plugins/tags/delete-users/)
   [user management](https://lin.wordpress.org/plugins/tags/user-management/)[user roles](https://lin.wordpress.org/plugins/tags/user-roles/)
 *  [Advanced View](https://lin.wordpress.org/plugins/role-based-user-deleter/advanced/)

## Ratings

 2 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/role-based-user-deleter/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/role-based-user-deleter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/role-based-user-deleter/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/role-based-user-deleter/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/role-based-user-deleter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/role-based-user-deleter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/role-based-user-deleter/reviews/)

## Contributors

 *   [ Sakib Hasan ](https://profiles.wordpress.org/sakibhasan/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/role-based-user-deleter/)