Spam Word Blocker
Prevent posts/pages from being published or scheduled if they contain unwanted or spam words.
Not scanned yet
WordPress plugin
80 installs
Install in
Spam Word Blocker is a lightweight, WordPress policy-compliant plugin that prevents publishing or scheduling of any post, page, or custom post type if the content contains unwanted words defined by the admin.
Key Features
- Instant Popup Alert (Pure Vanilla JS) – Shows exactly which blocked words were found with zero jQuery dependency.
- Publish & Schedule Protection – Blocks both immediate publishing and scheduled (
future) posts, plus optional Pending Review blocking. - Gutenberg & Classic Editor Ready – Scans Title, Content, Excerpt, and optional URL Slug accurately in modern iframe block editors.
- Post Type & Role Controls – Choose which public post types to protect and optionally allow trusted roles to bypass.
- Instant Blocklist Tester – Test sample sentences right from the settings page.
- 1-Click Export / Import (.txt) – Easily move your blocklist across websites.
- Recent Blocked Attempts Log – Track the last 20 blocked publish attempts with user, post title, and matched words.
- Server-Side Enforcement – Cannot be bypassed and scales cleanly to large blocklists.
Perfect For
- Multi-author blogs and newsrooms
- Guest post moderation
- Preventing accidental spam or restricted keywords
- Brand and AdSense policy protection
Written by Joobi from the project's own listing. See the source page
28 Nov 2026
Version 2.0.0 released. Not scanned yet.
2.0.0
- Tested and verified for WordPress 7.2 and PHP 8.6 compatibility.
- Rewrote editor checker in 100% pure Vanilla JS (removed jQuery dependency for jQuery 4 readiness).
- Fixed Gutenberg iframe title and excerpt detection using
wp.data.select('core/editor'). - Added server-side protection for Scheduled (
future) posts and optional Pending Review submissions. - Added Protected Post Types, Scan Scope (Title, Content, Excerpt, Slug), and Role Bypass settings.
- Added Instant Blocklist Tester, 1-Click Export/Import (
.txt), and Recent Blocked Attempts Log (last 20). - Chunked regex matching for large blocklists and fixed double-escaping in admin notices.
- Moved settings save handler to
admin_initfor full Plugin Check compliance.
1.1.0
- NEW: Instant popup modal showing blocked words.
- IMPROVED: Simplified code structure and WordPress policy compliance.
1.0.0
- Initial release.
21 Nov 2025Listed on Joobi from WordPress.org.
Follow this listing's changes (Atom feed)