[WordPress] 外掛分享: Commenti – Disable & Remove Comments, Stop Spam [Multi-Site Support]

首頁外掛目錄 › Commenti – Disable & Remove Comments, Stop Spam [Multi-Site Support]
WordPress 外掛 Commenti – Disable & Remove Comments, Stop Spam [Multi-Site Support] 的封面圖片
全新外掛
安裝啟用
尚無評分
30 天前
最後更新
問題解決
WordPress 5.9+ PHP 7.4+ v1.0.4 上架:2026-03-11

內容簡介

Commenti 外掛讓您能夠輕鬆地在整個 WordPress 網站上禁用評論,或選擇性地移除特定文章類型的評論。它提供全面的多站點支持,並可透過 WP-CLI 命令進行操作,有效阻止垃圾評論並清理管理介面。

【主要功能】
• 一鍵禁用所有評論或特定文章類型
• 每篇文章覆蓋設定,選擇性開啟評論
• 批量刪除現有評論,簡化管理介面
• 阻止 REST API 和 XML-RPC 的評論請求
• 自動關閉過期文章的評論功能
• 支援多站點管理和 WP-CLI 命令

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Commenti – Disable & Remove Comments, Stop Spam [Multi-Site Support]」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon