https://github.com/dallascrilley/wp-delete-comments-plugin
Simple and minimal plugin to delete all or certain comments from a Wordpress website.
https://github.com/dallascrilley/wp-delete-comments-plugin
comments moderation spam trash wordpress wp-plugins
Last synced: about 1 year ago
JSON representation
Simple and minimal plugin to delete all or certain comments from a Wordpress website.
- Host: GitHub
- URL: https://github.com/dallascrilley/wp-delete-comments-plugin
- Owner: dallascrilley
- License: gpl-2.0
- Created: 2025-02-13T16:26:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T17:26:41.000Z (about 1 year ago)
- Last Synced: 2025-02-13T18:29:48.313Z (about 1 year ago)
- Topics: comments, moderation, spam, trash, wordpress, wp-plugins
- Language: PHP
- Homepage: https://dallascrilley.com/
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Delete All Comments from WordPress Posts
**Contributors:** dallascrilley
**Tags:** comments, moderation, spam, trash, disable comments
**Requires at least:** 5.0
**Tested up to:** 6.7.2
**Stable tag:** 1.1.0
**License:** GPLv2 or later
**License URI:** [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html)
## Description
Delete all or specific types of comments from your WordPress website via a simple admin page.
This plugin adds a page under **Tools > WP Delete Comments** to enable deleting:
1. Delete all or specific types of comments:
- All comments
- Moderation/Pending comments
- Approved comments
- Spam comments
- Trashed comments
2. Optionally disable future comments (so new posts won’t accept comments).
## Installation
1. Upload the `wp-delete-comments-plugin` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Navigate to **Tools > WP Delete Comments** to remove unwanted comments.
## Frequently Asked Questions
### Will this permanently delete comments?
Yes. The plugin calls `wp_delete_comment(..., true)`, which removes comments permanently from the database.
### Is there any confirmation prompt?
Currently, there's no separate confirmation prompt. Please use at your own risk and test on a staging site.
### How do I re-enable future comments?
Simply uncheck the "Disable all future comments" box and submit again.
## Changelog
### 1.1
- Feature: Option to disable all future comments from the same admin page
### 1.0
- Initial Release