Skip to content
Sign in
Delete & Disable Comments – Bulk Delete Spam & All Comments icon

Delete & Disable Comments – Bulk Delete Spam & All Comments

Bulk delete spam or all comments in safe, resumable batches.

Not scanned yet WordPress plugin 70 installs

Install in

No install steps yet

Follow the steps on the source page.

Delete all comments, bulk delete spam, or disable comments on your whole WordPress site – safely, even when there are tens of thousands of them. Everything happens on one screen under Tools Delete & Disable Comments.

Why site owners choose it

  • Works on large sites and cheap hosting. Comments are deleted in small batches with a live counter, so a big cleanup does not time out or run out of memory.
  • Protects what you want to keep. WooCommerce product reviews, block editor Notes and comment types added by other plugins stay untouched unless you select them.
  • Exact counts first. See how many comments of each type and how much spam your site has before anything is deleted.
  • Free CSV export. Download all comments as a spreadsheet before you delete. Formula-like values are neutralized, so the file opens safely in Excel, Numbers or LibreOffice.
  • Disable comments site-wide with one switch. Comment forms and existing comments disappear from your pages, along with the Comments menu, the Recent Comments widget and comment feeds. New public comments and pings are refused, including through the REST API.
  • No mass post updates. Closing comments on existing posts is a single database update and does not trigger the save_post hooks used by WPML, Polylang or Yoast SEO.
  • 100% free. No Pro version, no ads, no account, no tracking.

Proven on real sites

One user removed 32,509 unwanted comments from a client site with a PHP memory limit of only 128 MB, after the standard WordPress comment screens had failed with server errors.

Typical uses

  • Clean up years of accumulated spam.
  • Remove all comments before a redesign, migration or client handover.
  • Turn a blog into a website without discussion.
  • Delete old comments, pingbacks and trackbacks while keeping product reviews.

Try it before you install

Use the Live Preview button on this page to open a temporary demo site in your browser. It comes with sample comments, spam, pingbacks and editor Notes, so you can try every button safely. Nothing is installed on your own site.

Before you delete

Deletion is permanent. The CSV export is a readable copy of the comment rows, not a restorable backup: it omits comment metadata and contains personal data such as names and email addresses, so keep it private. For a full safety net, make a database backup with your host first.

The default selection covers ordinary comments, pingbacks and trackbacks on non-product content, regardless of status. Product reviews, editor Notes and other custom comment types are only deleted when you select them. Delete Spam Comments only removes spam among ordinary comments, pingbacks and trackbacks.

What the disable switch does

When comments are disabled, new content defaults to closed comments and pings, the comment form and existing comments are hidden on the front end, the Comments menu, the Recent Comments widget and comment feeds are removed, and product reviews are closed. Existing comments stay in the database until you delete them. Block editor Notes keep working.

Some existing posts may still be marked as open. The screen then offers Close all comments now, which permanently closes them in one database update. Switching comments back on restores your previous Discussion defaults, but posts closed this way stay closed. Sites disabled with a version before 1.1.0 did not record those defaults.

Need help with a complex cleanup?

For a step-by-step guide or professional help with large cleanups and migrations, see Ostheimer’s Delete & Disable Comments guide.

Translations

The admin interface is available in English and German. WordPress loads the matching language file automatically based on the site language. Text domain: delete-disable-comments.

Written by Joobi from the project's own listing. See the source page

delete all commentsdelete commentsdelete spam commentsdisable commentsremove comments
24 Nov 2026
Version 1.1.1 released. Not scanned yet.

1.1.1

  • Clearer plugin name, description, FAQ and screenshots for the WordPress.org plugin directory.
  • No functional changes.

1.1.0

  • Protect editor Notes, product reviews and custom comment types from default cleanup.
  • Delete selected types in resumable batches with exact progress and failure reporting.
  • Keep editor Notes available through REST while public comments are disabled.
  • Restore saved Discussion defaults when re-enabling comments; clarify permanent post-status changes and legacy settings.
  • Rename the CSV download as an export and clarify that it is not a restorable backup.
  • Show cleanup counts and add contextual help for complex migrations.

1.0.7

  • Export and delete comments with every status, including spam, trash, and custom statuses.
  • Verify complete deletion and report the number of comments actually removed.
  • Preserve the site-wide disable setting across plugin deactivation and reactivation.
  • Neutralize formula-like values in CSV backups before they reach spreadsheet applications.
  • Verify compatibility with WordPress 7.1 and add Plugin Check to continuous integration.

1.0.6

  • Changed CSV backups to stream through an authenticated administrator download instead of writing public files under wp-content/uploads/.
  • Removed stale backup object caching so downloads reflect the current comments table.

1.0.5

  • Added complete EU locale translation files and compiled .mo files for the admin UI.
  • Kept complete German translations (de_AT, de_DE) for admin UI, AJAX messages, and maintenance notices.
  • Updated the translation template (.pot) and fixed the hardcoded “Error loading status” JavaScript message.

1.0.4

  • Plugin Check compliance: Tested up to 7.0, sanitized toggle AJAX input, documented intentional bulk SQL queries.
  • Version bump for WordPress.org submission readiness.

1.0.3

  • Fixed the disable-comments toggle so it no longer runs a synchronous bulk update on wp_posts during AJAX.
  • Bulk-closing existing posts is now performed only through Close all comments now or on plugin activation when disable mode is already enabled.
  • Hardened toggle AJAX input handling and admin JavaScript error recovery.
  • Removed Cypress E2E tests from the repository; PHP smoke tests remain under tests/php/.

1.0.2

  • Fixed ddwpc_init() so it no longer iterates over every post on every page request.
  • Bulk close-comments now runs only when the administrator clicks Close all comments now.
  • Bulk close operation uses a single $wpdb update without triggering save_post, transition_post_status, or wp_after_insert_post.
  • Settings screen shows the count of posts with open comments or pings and provides a one-click close button.
  • Added helpers: ddwpc_is_disable_comments_enabled(), ddwpc_apply_disable_comments_defaults(), ddwpc_close_all_post_comments_in_db(), and ddwpc_count_posts_with_open_comments().

1.0.1

  • Renamed plugin prefixes from ddc_ to ddwpc_ across PHP and JavaScript.
  • Removed the manual load_plugin_textdomain() call because WordPress 4.6+ auto-loads plugin translations.
  • Removed direct core file loads.
  • Moved CSV backups under wp-content/uploads/delete-disable-comments/.

1.0.0

  • Initial release with spam deletion, delete-all with backup, and site-wide comment disable.
4 Jun 2025Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)