Disable Users
Disable Users
Description
This plugin gives you the ability to disable specific user accounts via a profile setting.
Once installed and activated, a checkbox appears on the user profile settings (only for admins). When checked, the users account will be disabled and they will be unable to login with the account. If they try to login, they are instantly logged out and redirected to the login page with a message that notifies them their account is disabled.
This can be useful in a few situations.
- You are working on a site for a client who has an account, but do not want him to login and/or make changes during development.
- You have a client who has an unpaid invoice.
This plugin is on GitHub! Pull requests are welcome. If possible please report issues through Github.
Installation
- Upload
disable-usersto your/wp-content/plugins/directory. - Edit any user and then look for the “Disable User Account” checkbox.
Screenshots
Faq
Installation Instructions
- Upload
disable-usersto your/wp-content/plugins/directory. - Edit any user and then look for the “Disable User Account” checkbox.
Can I change the message a disabled user sees?
Yes, there is a filter in place for that, ja_disable_users_notice.
Reviews
good and simple
By Jakob Helmer (Jakobuz) on May 22, 2020
Works perfectly
By lobogc on October 20, 2017
Does exactly what it says on the tin
By Rufus McDufus on September 3, 2016
Perfect. Is there a way of listing disabled accounts afterwards? The 'Disabled' column isn't sortable and I can't figure a way of listing them.
Does what it says it will do
By jesselperry on September 3, 2016
Seems like a simple request, right? Disable a specific user account without deleting the user.
Surprisingly this isn't a feature built into WordPress, and even more surprising there isn't another plugin out there that does this. There are other simple plugins that say they do this — but they don't work. There are other plugins that do things based on user role — but those are too complicated to set up user roles just to disable an account.
This does exactly what I needed — a simple plugin that lets me disable a user with just a checkbox. Simple.
nice little feature
By skater4life80 on September 3, 2016
Great idea for limiting access to others (admins or other users) while doing updates or maintenance on the backend.
Brazilian Portuguese translation.
By dbiagi on September 3, 2016
I just created a .mo file for this plugin in pt_BR.
Here is the files: https://drive.google.com/open?id=0B45nMNzIYUITenh1RWhDVzBHbmc.
PS: Thanks for the plugin. Works fine.
Perfect
By jcdeckard on September 3, 2016
works perfectly
Works on Multisite too
By Cristovao Verstraeten (cristovaov) on September 3, 2016
Works with a Multisite setup. Updating the user meta through WP-CLI is a breeze as well. Loving its simplicity, thank you very much for this plugin indeed.
Works Perfect
By pcsinvestments on September 3, 2016
Simple and effective, disabe without deleting right from the user profile. Thanks
Very Nice
By MOHD TAHIR (tahir4444) on September 3, 2016
@Jared Atchison It works for me thanks for helping.
Changelog
1.0.5 (11/11/2015)
- Added pl_PL transnation – Props Dominik Kocuj
1.0.4 (6/21/2015)
- Bug fix for Disabled column to manage user screen
1.0.3 (6/15/2015)
- Added Disabled column to manage user screen. Props @basteln3rk (flexponsive).
- Cleaned up code slightly and updated README information
1.0.2
- Removed accidental PHP short form
1.0.1
- Fixed notice that would show if WP_DEBUG was on. Props @vegasgeek.
1.0.0
- Initial launch

