PHPackages                             inpsyde/disable-comments - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. inpsyde/disable-comments

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

inpsyde/disable-comments
========================

Entirely ditches comments as a WordPress feature.

1.0.4(1y ago)1720.7k↓41.7%11GPL-2.0-or-laterPHPPHP &gt;= 8.0CI passing

Since May 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/inpsyde/disable-comments)[ Packagist](https://packagist.org/packages/inpsyde/disable-comments)[ RSS](/packages/inpsyde-disable-comments/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (1)

Inpsyde Disable Comments
========================

[](#inpsyde-disable-comments)

A WordPress plugin that completely disables comments as a WordPress feature.

[![PHP Quality Assurance](https://github.com/inpsyde/disable-comments/actions/workflows/php-qa.yml/badge.svg)](https://github.com/inpsyde/disable-comments/actions/workflows/php-qa.yml)

---

Table Of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [A note about themes](#a-note-about-themes)
- [Requirements](#requirements)
- [Installation](#installation)
- [Crafted by Syde](#crafted-by-syde)
- [Credits](#credits)
- [Copyright and License](#copyright-and-license)
- [Contributing](#contributing)

Features
--------

[](#features)

This package is a simple no-configuration plugin. Install, activate, and forget.

It does not distinguish between types of comments or post types; it makes it look like comments are not a WordPress feature.

Among other things:

- Forces comments-related configuration to be disabled
- Prevents comments from being added
- Prevents comment queries from running
- Removes any reference to comments from the dashboard
- Makes sure all posts have comments disabled
- Removes comment-related editor blocks and the "Discussion" editor sidebar panel
- Removes comment-related REST API endpoints

---

Warning

The plugin uses the [`allowed_block_types_all`](https://developer.wordpress.org/reference/hooks/allowed_block_types_all/) filter to disable comment-related blocks. When that filter runs, **Javascript-only registered blocks are** not recognized and **all removed by activating this plugin**.

---

A note about themes
-------------------

[](#a-note-about-themes)

A theme might hardcode comments-related output even if comments are disabled.

That might be the case for FSE themes, but for those, it should be possible to use the site editor to remove the undesired parts of templates. "Traditional" themes should not output anything comments-related if comments are closed (and this plugin ensures that). If you see any comments-related output in the theme, please contact the developer or use a child theme to replace the offending templates/template parts.

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

[](#requirements)

- PHP 8.0+
- WP 6.0+

The plugin has no production dependencies. When installed for development via Composer, the package requires:

- [inpsyde/php-coding-standards](https://github.com/inpsyde/php-coding-standards/blob/master/LICENSE)
- [inpsyde/wp-stubs](https://github.com/inpsyde/wp-stubs/blob/main/LICENSE)
- [vimeo/psalm](https://github.com/vimeo/psalm/blob/master/LICENSE)

Installation
------------

[](#installation)

The best way to install this package is with Composer:

```
$ composer require inpsyde/disable-comments
```

Crafted by Syde
---------------

[](#crafted-by-syde)

The team at [Syde](https://syde.com) is engineering the Web since 2006.

Credits
-------

[](#credits)

Originally born as a fork of .

Copyright and License
---------------------

[](#copyright-and-license)

This package is [free software](https://www.gnu.org/philosophy/free-sw.en.html) distributed under the terms of the GNU General Public License version 2 or (at your option) any later version. For the full license, see [LICENSE](./LICENSE).

Contributing
------------

[](#contributing)

Bug reports and contributions are welcome, but please don't ask to add features or configurations. For less "radical" approaches to the topic, several other options are available.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~130 days

Total

5

Last Release

581d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2208282?v=4)[Giuseppe Mazzapica](/maintainers/gmazzap)[@gmazzap](https://github.com/gmazzap)

![](https://www.gravatar.com/avatar/003585053f7d5d2127d31d5a4e79ba309acc075154f5752de8f429ac42c54dbe?d=identicon)[Syde](/maintainers/Syde)

![](https://www.gravatar.com/avatar/572cb5d91b21cc9879823e849607ffe88365365391d5fd01ee4efb6a3c24df1f?d=identicon)[Chrico](/maintainers/Chrico)

![](https://www.gravatar.com/avatar/0fa321f6c73e14c16d4aea0276673ce1e5d001e49062e32f3b8dc91f0ed10c1e?d=identicon)[bueltge](/maintainers/bueltge)

---

Top Contributors

[![gmazzap](https://avatars.githubusercontent.com/u/2208282?v=4)](https://github.com/gmazzap "gmazzap (12 commits)")[![tyrann0us](https://avatars.githubusercontent.com/u/8144115?v=4)](https://github.com/tyrann0us "tyrann0us (5 commits)")[![bueltge](https://avatars.githubusercontent.com/u/133425?v=4)](https://github.com/bueltge "bueltge (3 commits)")[![petertwise](https://avatars.githubusercontent.com/u/450137?v=4)](https://github.com/petertwise "petertwise (2 commits)")[![daniloalvess](https://avatars.githubusercontent.com/u/6590844?v=4)](https://github.com/daniloalvess "daniloalvess (1 commits)")[![lloc](https://avatars.githubusercontent.com/u/1012205?v=4)](https://github.com/lloc "lloc (1 commits)")[![overclokk](https://avatars.githubusercontent.com/u/4604932?v=4)](https://github.com/overclokk "overclokk (1 commits)")[![Chrico](https://avatars.githubusercontent.com/u/3417446?v=4)](https://github.com/Chrico "Chrico (1 commits)")

---

Tags

commentingcommentsdisable-commentshacktoberfestwordpresswordpress-plugin

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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