Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/rapidwebltd/deactivate-user-plugin/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Deactivate User Plugin for WordPress
WordPress plugin that allows a user to deactivate their own user account from within the WordPress login area, or via the shortcode.
To create a frontend page that immediately deactivates the currently logged in user's account, use the following short code. This can be useful when developing a custom frontend.
[jhdup_deactivate_current_user_shortcode]
Note: When a user's account is deactivated all their posts/pages are set to 'draft' status.