Inpsyde Disable Comments #1 in Social & Sharing
A WordPress plugin that completely disables comments as a WordPress feature.
★ 17stars
26kcomposer installs
2forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/inpsyde/disable-comments/archive/refs/heads/main.zipAlso on Packagist as inpsyde/disable-comments:
composer require inpsyde/disable-commentsDeclares an update source (false), so updates arrive through the plugin's own updater.
From the readme
Inpsyde Disable Comments
A WordPress plugin that completely disables comments as a WordPress feature.
Table Of Contents
Features
A note about themes
Requirements
Installation
Crafted by Syde
Credits
Copyright and License
Contributing
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 allowedblocktypesall 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 theme might hardcode comments-related output even if comments are disabled.
That might be the case for FSE them
Read the full README on GitHub →