PrePublish Comment Moderator protects your WordPress site by analyzing every new comment before it is published. Each comment receives a toxicity/spam score from 0 to 100, and the plugin automatically approves, holds, or marks it as spam based on thresholds you control.
No more drowning in spam. No more toxic comments slipping through. Set it up in minutes and let AI (or a free offline filter) do the heavy lifting.
Comment markup (no duplicates). Provider
API key
Cost
Best for
Local Filter
Not required
100% free, unlimited
Fast offline blocking, Greek/English word lists, custom blocked words
Groq
Yes (free tier)
Generous free daily limits
Smart AI moderation at no cost
OpenAI (ChatGPT)
Yes
Pay-as-you-go (~$0.0001/comment)
Highest accuracy, context & sarcasm
Google Gemini
Yes
Free tier (~20/day) or paid billing
Strong multilingual AI
Perspective API
Yes (approval)
Free with Google approval
Dedicated toxicity scoring
The settings screen includes built-in setup instructions for every provider, with direct links to API consoles.
When you use an AI provider (OpenAI, Gemini, Groq, or Perspective), comment text is sent to that provider’s API for analysis. The Local Filter runs entirely on your server and does not send data externally.
You are responsible for complying with your provider’s terms of service and your site’s privacy policy. API keys are stored encrypted using WordPress salts.
See the External services section below for details on each third-party service.
This plugin connects to third-party AI services only when you select a cloud provider and enter an API key. The Local Filter runs entirely on your server and does not contact external services.
For each provider below: what it is, what data is sent, when, and links to terms and privacy policy.
Used for AI-powered toxicity/spam scoring when you select Groq as the provider.
Data sent: The plain text of each new comment submitted on the frontend, plus a short moderation prompt (no visitor IP or email is sent by this plugin).
When: Only at comment submission time, and only when Groq is the active provider.
Service: Groq, Inc. — Terms of Use, Privacy Policy.
Used for AI-powered toxicity/spam scoring when you select OpenAI as the provider.
Data sent: The plain text of each new comment submitted on the frontend, plus a short moderation prompt.
When: Only at comment submission time, and only when OpenAI is the active provider.
Service: OpenAI — Terms of Use, Privacy Policy.
Used for AI-powered toxicity/spam scoring when you select Google Gemini as the provider.
Data sent: The plain text of each new comment submitted on the frontend, plus a short moderation prompt. Your API key is sent as part of the request URL to Google’s API endpoint.
When: Only at comment submission time, and only when Gemini is the active provider.
Service: Google — Gemini API Terms, Privacy Policy.
Used for dedicated toxicity scoring when you select Perspective API as the provider.
Data sent: The plain text of each new comment submitted on the frontend.
When: Only at comment submission time, and only when Perspective is the active provider.
Service: Google Jigsaw / Perspective API — governed by Google APIs Terms of Service and Google Privacy Policy. See also the Perspective API FAQ.