WordPress plugin that integrates CleanMod AI comment moderation to automatically detect and handle toxic comments.
- 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
- Upload the
wp-cleanmodfolder to/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
- Go to
Settings → CleanModto configure your 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
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
- 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)
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Valid CleanMod API key
For issues, questions, or feature requests, visit CleanMod.
GPL v2 or later