跳到内容

Commenti – Disable & Remove Comments, Stop Spam [Multi-Site Support]

v1.0.4

Yakura · 2026年3月12日 上架

Disable and remove comments site-wide or per post type. Control REST API, feeds, XML-RPC, admin UI, and avatars. Multisite ready

正在使用
10 以下
评分
暂无
累计下载
701
最近更新
2026年3月30日
需要 WordPress 5.9+已测试到 6.9.12PHP 7.4+

贡献者

截图

Dashboard with comment statistics and quick status overview
Dashboard with comment statistics and quick status overview
Settings page with per-post-type comment controls
Settings page with per-post-type comment controls
Setup wizard — configure your site in three steps
Setup wizard — configure your site in three steps
Tools page with bulk comment deletion and statistics preview
Tools page with bulk comment deletion and statistics preview
Per-post meta box for overriding global comment settings
Per-post meta box for overriding global comment settings
Activity log showing an audit trail of all changes
Activity log showing an audit trail of all changes

Commenti lets you disable comments across your entire WordPress site with one click, or selectively remove comments on specific post types. Hide comment forms, delete existing comments in bulk, stop spam, and clean up your admin — with full multisite network support and WP-CLI commands.

Why Commenti?

WordPress’s built-in Discussion settings only scratch the surface. They let you close comments on future posts, but existing posts stay open, comment menus clutter the admin, REST API endpoints remain exposed, and pingback headers keep broadcasting. Commenti closes every door — front end, back end, feeds, APIs — while giving you fine-grained control over what stays open.

  • One click vs. granular — Disable everything at once, or choose exactly which post types to affect
  • Per-post overrides — Keep comments open on specific posts even when disabled globally
  • Safe by default — Disabling comments never deletes anything. Deletion is a separate, intentional action
  • Developer-friendly — 16+ filters, 7+ actions, 8 WP-CLI commands, and a REST API for full programmatic control

Features

  • Disable All or Per Post Type — One toggle to disable comments everywhere, or select specific post types
  • Per-Post Override — Enable or disable comments on individual posts via a meta box
  • Show Existing Comments — Optionally keep displaying previously posted comments while blocking new ones
  • Admin Cleanup — Remove the Comments menu, admin bar item, dashboard widgets, and block editor comment blocks
  • REST API Blocking — Remove /wp/v2/comments endpoints and block comment requests
  • XML-RPC Blocking — Remove all comment-related XML-RPC methods
  • Feed & Pingback Removal — Remove comment RSS feeds, X-Pingback headers, and pingback XML-RPC methods
  • Avatar & Gravatar Control — Disable avatar display and block external Gravatar requests for privacy
  • Comment Type Whitelisting — Allow specific comment types like WooCommerce order notes or WP 6.9 Notes to bypass disabling
  • User Role Exclusions — Exempt specific user roles from comment restrictions
  • Scheduled Disable — Automatically close comments on posts older than a set number of days via WP-Cron
  • Bulk Comment Deletion — Delete comments by post type, comment type, or status with a statistics preview before you commit
  • Import/Export Settings — Transfer your configuration between sites via JSON files
  • Activity Log — Full audit trail of every settings change, import, and bulk deletion
  • Setup Wizard — Three-step first-run wizard to configure your site in under a minute
  • Multisite Support — Network activation with network-wide settings and per-subsite management
  • WP-CLI Commands — 8 commands for status, settings, deletion, stats, export, import, log, and reset
  • Custom REST API — yakura-commenti/v1/ endpoints for reading and updating settings programmatically

For Developers

Commenti exposes 16+ filters and 7+ actions at every decision point — override whether a post type is disabled, modify settings before save, react after bulk deletions, filter REST endpoints, and more. All hooks are prefixed with yakura_commenti_.

WP-CLI: wp yakura-commenti status|settings|delete|stats|export|import|log|reset.

REST API: GET/POST /yakura-commenti/v1/settings, GET /yakura-commenti/v1/status (requires manage_options).

Requirements

  • WordPress 5.9 or later
  • PHP 7.4 or later

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums