| 开发者 | maksymvasylchuk |
|---|---|
| 更新时间 | 2026年10月6日 04:05 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
On single-site installations, yes: once the deletion is confirmed, the selected users are permanently deleted. On multisite, the selected users are only removed from the current site; their network account and their access to other sites are kept.
No, once users are deleted, they cannot be restored. Please make sure to verify the list during the preview step.
Yes, the plugin is compatible with WooCommerce and allows filtering users who have placed orders.
On multisite, the plugin works in the current site context. It removes selected users from the current site instead of deleting their network account, helping network administrators avoid removing users from other sites by mistake.
Choose "Find users according to certain criteria", set User Role to Subscriber, pick the first_name field under User Meta and choose "Meta is empty or missing". WordPress stores an empty first_name for every user who did not fill it in, so "Meta does not exist" will not find them. You can also tick "Only users without posts or comments on this site" to target accounts that never contributed anything.
No. Administrators, users who can manage other users and super admins are protected: they are marked in the preview and skipped during deletion. Use the standard WordPress Users screen for them. Developers can change which users are protected with the ubdwp_is_protected_user filter.
For each user you can reassign their posts to another user, permanently remove all their related content (posts in any status and comments), or leave the default. On single-site installations the default follows WordPress core: the user's posts and pages are moved to the trash. On multisite, the user is only removed from the current site and their content stays in place unless you choose to reassign or remove it.
Yes. When network activated, the plugin creates its log table for each site and initializes the table automatically for newly created sites.
Narrow the users down with the filters, open the preview and use "Select all users of the preview". In the confirmation, choose "In the background": the deletion runs in batches and continues after you close the page; follow it on the Deletion Jobs page. Back up your database first. On the command line, the same can be done with wp ubdwp delete.
Yes. Run the commands as an administrator with --user, for example: wp ubdwp find --role=subscriber --meta-key=first_name --meta-compare=empty --format=count --user=admin, then wp ubdwp delete with the same filters and --dry-run to see the summary, or --yes to delete. Use wp ubdwp jobs to list, run or cancel deletion jobs, and wp help ubdwp for all options.
The deletion log stores the ID of each deleted account, the date and the administrator who deleted it. By default, emails and display names in new entries are masked (j***@example.com); on the Settings page you can store them in full or not at all, apply the setting to existing entries, set a retention period and delete old entries. The log is included in WordPress Tools > Export Personal Data and Erase Personal Data, and the plugin adds suggested text to the privacy policy guide. CSV exports are downloaded directly and never stored on the server.
The readable JavaScript and CSS sources are included in assets/src. The files in assets/build are generated from them with @wordpress/scripts: run npm install and npm run build.