BACK TO DIRECTORY



Spam Word Blocker is a lightweight, WordPress policy-compliant plugin that prevents publishing of any post, page, or custom post type if the content contains unwanted words defined by the admin.
Key Features
- Instant Popup Alert – Shows exactly which blocked words were found
- Works for ALL Post Types – Automatically covers posts, pages, and custom post types
- Lightweight – Only runs during publish events, zero background load
- Server-Side Enforcement – Cannot be bypassed
- Beautiful Admin UI – Clean white and green premium design
- WordPress Policy Compliant – Proper escaping, sanitizing, and nonces
- Case-Insensitive Matching – Smart word-boundary detection
How It Works
- Admin adds blocked words/phrases (one per line) in plugin settings
- When user clicks Publish, plugin scans title, content, and excerpt
- If blocked words found:
- Instant popup shows which words are blocked
- Post is saved as draft automatically
- Admin notice displays after page reload
- User removes blocked words and republishes successfully
Perfect For
- Content moderation
- Preventing accidental spam content
- Multi-author sites
- Guest post management
- Adult content filtering
- Brand protection
Credits
Developed by Harshit Kumar – https://kumarharshit.in
Screenshots

screenshot-1.png - Main Dashboard with Spam Word Blocker.

screenshot-2.png - Blocked words found Realtime popup
Plugin Details
Active Installs
30Total Downloads
444Version
1.1.0Requires WP
5.0Requires PHP
7.0Tested Up To
7.0.7Added
2025-11-21Last Updated
2026-05-26 10:48am GMTRatings
5
0
4
0
3
0
2
0
1
0