| 开发者 |
cathal byrne
cathalbyrne |
|---|---|
| 更新时间 | 2026年9月18日 01:20 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/comments-deletion directory, or install the plugin through the WordPress Plugins screen.Yes. Product reviews are excluded by default from manual and scheduled cleanup. You can deliberately turn that protection off when you specifically want to remove matching reviews.
Yes. Version 3.1 uses WordPress comment deletion APIs rather than deleting only rows from the comments table.
Yes. The Automatic Cleanup tab can delete spam, trash and/or pending comments older than a chosen number of days on a daily or weekly schedule.
Manual deletion is performed in configurable batches and displays progress. WP-CLI commands are also available for large or multisite installations.
Examples:
wp comments-deletion count --status=spam
wp comments-deletion delete --status=spam --older-than=30 --yes
wp comments-deletion delete --status=trash --network --yes
By default WP-CLI deletion protects product reviews. Pass --include-reviews only when you intentionally want matching product reviews included.