PHPackages                             wppack/disable-comments-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. wppack/disable-comments-plugin

ActiveWordpress-plugin

wppack/disable-comments-plugin
==============================

Completely disable comments: closes discussion everywhere, hides existing comments, and removes every comment surface from wp-admin, feeds, REST and XML-RPC.

v1.1.0(1mo ago)0234↓75%MITPHPPHP ^8.2CI passing

Since Jul 13Pushed 1mo agoCompare

[ Source](https://github.com/wppack-io/disable-comments-plugin)[ Packagist](https://packagist.org/packages/wppack/disable-comments-plugin)[ RSS](/packages/wppack-disable-comments-plugin/feed)WikiDiscussions 1.x Synced 1w ago

READMEChangelogDependencies (42)Versions (4)Used By (0)

WPPack Disable Comments
=======================

[](#wppack-disable-comments)

[![WPPack Disable Comments](.wordpress-org/banner-1544x500.png)](.wordpress-org/banner-1544x500.png)

Completely disable comments in WordPress. Activate it and the comment system is gone; deactivate it and everything comes back. No settings screen, no options in the database.

What it does
------------

[](#what-it-does)

**Discussion**

- Closes comments and pingbacks on every post type, at a priority no theme or plugin can override.
- Existing comments never render: templates receive an empty thread and a zero count, so themes show neither comment lists nor "N Comments" links.
- Comment queries for discussion types short-circuit before reaching the database — the Latest Comments block, the classic Recent Comments widget and direct `WP_Comment_Query` calls all come back empty.

**Block editor**

- Comment-related blocks — Comments and its inner blocks, Comment Form, Latest Comments, comment counts and links — are hidden from the inserter and render nothing on the front end. Blocks already placed in content or templates stay intact (no "unavailable block" warnings) and come back on deactivation.
- The site editor's "Discussion" row on the Home and Index templates, which edits the site-wide default comment status, is hidden.

**wp-admin**

- Removes the Comments menu, Settings › Discussion, the toolbar comments bubble and the classic Recent Comments widget; the dashboard's "At a Glance" and Activity widgets show no comments. Comment and trackback support is dropped from every post type, which also removes the Discussion metaboxes, the block editor's discussion panel and the comment columns on list tables.
- Direct hits on `edit-comments.php`, `comment.php` or `options-discussion.php` bounce to the dashboard.

**Feeds and machine surfaces**

- Comment feed URLs return 404 and their `` tags disappear from the document head.
- The `X-Pingback` header, RSD link and pingback URL are gone; the `/wp/v2/comments` REST routes and every comment/pingback XML-RPC method are unregistered, and post/page REST responses stop advertising a `replies`link.

What it deliberately leaves alone
---------------------------------

[](#what-it-deliberately-leaves-alone)

- **Existing comments stay in the database.** Nothing is deleted or rewritten; deactivating the plugin restores them exactly as they were.
- **Non-discussion comment types keep working.** Plugins that store their own records as comments (WooCommerce order notes, action logs, …) query them by their own type and pass through untouched.

Requirements
------------

[](#requirements)

PHP 8.2+, WordPress 6.7+.

License
-------

[](#license)

MIT

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance91

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

4

Last Release

42d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/578548?v=4)[TSURU](/maintainers/ttsuru)[@ttsuru](https://github.com/ttsuru)

---

Top Contributors

[![ttsuru](https://avatars.githubusercontent.com/u/578548?v=4)](https://github.com/ttsuru "ttsuru (21 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wppack-disable-comments-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/wppack-disable-comments-plugin/health.svg)](https://phpackages.com/packages/wppack-disable-comments-plugin)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.8k10](/packages/helsingborg-stad-municipio)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7691.4M4](/packages/wp-media-wp-rocket)[october/rain

October Rain Library

1611.7M109](/packages/october-rain)[drupal/recommended-project

Project template for Drupal projects with a relocated document root

1623.0M1](/packages/drupal-recommended-project)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45945.2k1](/packages/pressbooks-pressbooks)[mediawiki/maps

Adds various mapping features to MediaWiki

84157.7k3](/packages/mediawiki-maps)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
