Lock User Account plugin provides functionality to lock WordPress registered user accounts in very smart way.
It has very quick controls to manage user account.
Install and activate plugin, go to Users page, select users you want to lock/unlock and then select the action from Bulk Actions drop down.
It has feature to add custom lock message to show on login screen for locked account. You can add your custom locked account message by going Settings and then click on General, there you can enter the message in field has label as Locked User Message.
- Upload the plugin files to the
/wp-content/plugins/lock-user-accountdirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->General screen to enter custom locked message
Can I add custom error message
Yes, you can add custom error message by going in Settings and General.
What if I accidentally lock myself
Logged in user can not lock himself, it will be skipped
Contributors & Developers
“Lock User Account” is open source software. The following people have contributed to this plugin.Contributors
The first release
Improved code to save settings
Updated for WP 5.8
Prevented current user from being locked