Overview
Disable Comments describes itself as: “Disable comments site-wide or by post type, delete existing comments in bulk, and block comment spam via REST API and XML-RPC. Multisite ready.”
It is active on 1+ million WordPress sites and rated 4.7 out of 5 by 282 users on WordPress.org. Developers can extend it through 6 actions and 5 filters, listed below.
How to install Disable Comments
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Disable Comments” and pick the one by WPDeveloper.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install disable-comments --activateRequirements: WordPress 5.0+ · PHP 7.0+ · tested up to WordPress 7.1.4
Hooks & customisation
Disable Comments 2.9.1 fires 6 actions and 5 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter the list of known comment types shown in the "Enable Certain Comment Ty…
apply_filters( 'disable_comments_known_comment_types', $known_types );
// Filters the sites purged after a network-wide settings change.
apply_filters( 'disable_comments_purge_blog_ids', $blog_ids );
// Fires when Disable Comments has changed what the front end renders.
do_action( 'disable_comments_purge_caches' );
// Filter whether the review prompt may be shown at all.
apply_filters( 'disable_comments_show_review_prompt', true );
// Action in disable-comments.php
do_action( 'breeze_clear_all_cache' );
// Filter in disable-comments.php
apply_filters( 'disable_comments_count_blocked_attempts', true );Need Disable Comments customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with WPDeveloper. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.