Apraksts
CleanMod WordPress Plugin integrates CleanMod AI comment moderation to automatically detect and handle toxic comments on your WordPress site.
Features
- Automatic Moderation: New comments are automatically sent to CleanMod’s moderation API
- Flexible Behavior: Configure how flagged and blocked comments are handled
- Fail-Safe: Comments still work even if the API is unavailable
- Native WordPress Integration: Works with WordPress’s built-in comment system
How It Works
- When a new comment is submitted, the plugin intercepts it using WordPress’s
pre_comment_approvedfilter - The comment text is sent to CleanMod’s
/api/v1/moderateendpoint - Based on the
decisionreturned (allow,flag, orblock), the comment status is adjusted according to your settings - If the API is unavailable, comments proceed normally (fail-open policy)
External Services
This plugin relies on the CleanMod moderation service (https://cleanmod.dev) to analyze and moderate comments. When a new comment is submitted on your WordPress site, the comment text is sent to CleanMod’s API for moderation analysis.
Service Provider: CleanMod
Terms of Use: https://cleanmod.dev/terms
Privacy Policy: https://cleanmod.dev/privacy
By using this plugin, you acknowledge that comment data will be transmitted to CleanMod’s servers for moderation purposes. By default, CleanMod saves only the comment hash and not the text itself. Please review CleanMod’s terms of use and privacy policy to understand how your data is handled.
Configuration
API Key
Get your API key from the CleanMod dashboard.
- Navigate to
Settings CleanModin WordPress admin - Enter your CleanMod API key
- Enable the plugin
- Configure moderation behavior
Moderation Behavior
When decision is “flag”:
- No change: Comment passes through normally (respects WordPress default settings)
- Hold for moderation: Comment is held pending manual review
When decision is “block”:
- Hold for moderation: Comment is held pending manual review
- Mark as spam: Comment is automatically marked as spam
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Valid CleanMod API key
Uzstādīšana
- Upload the
cleanmodfolder to/wp-content/plugins/ - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to
Settings CleanModto configure your API key
BUJ
-
Does this replace WordPress’s built-in moderation?
-
No. CleanMod adds an extra safety net on top of your existing moderation rules.
-
The plugin uses a fail-open policy. If the API is unavailable, comments will proceed normally without CleanMod moderation.
-
Does this work with comment form plugins?
-
This MVP version works with native WordPress comments only. Support for Contact Form 7, WPForms, and WooCommerce reviews may be added in future versions.
Atsauksmes
Autori un izstrādātāji
“CleanMod – AI Comment Moderation” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “CleanMod – AI Comment Moderation” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
0.1.0
- Initial release
- Native WordPress comment moderation
- Configurable behavior for flagged and blocked comments
- Admin settings page