Allow your users (except for administrators) to manually delete their own accounts. It uses the Sweet Alert jQuery plugin for slick-looking alerts and prompts.
By default, this plugin adds a button to a user’s profile page in the wp-admin. You can also add a delete button to any page or post using the
NOTE: Delete buttons are not displayed when logged in as an administrator. This is done to protect against locking yourself out of your site. To see the delete button, you’ll need to log in with an account that does not have the administrator role.
For more technical info, including available hooks (actions and filters), please see the plugin’s readme file on Github.
- Search for WP Delete User Accounts in the Add New Plugin section of the WordPress admin.
- Install and activate.
- Download the zip file, decompress the file and upload the main plugin folder to the
- Activate the plugin.
“WP Delete User Accounts” 是开源软件。 以下人员对此插件做出了贡献。贡献者
- Remove wp_logout(), which was causing processing to get stuck
- Made the DELETE text (for confirming account deletion) translatable
- Added filter for modifying script localization variables (e.g. the redirect URL)
- Updated translatable strings
- Added filter for loading CSS and JS assets anywhere on the frontend (e.g. within WooCommerce templates).
- Changed plugin text domain to dirname instead of basename to remove .php extension from path
- Add POT file for translations
- Fixed dependency array on enqueues
- Initial version