plugin-icon

Spam Word Blocker

作者:Harshit Kumar·
Prevent posts/pages from being published if they contain unwanted or spam words. Shows instant popup with blocked words.
版本
1.1.0
最后更新
May 26, 2026
Spam Word Blocker

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

  1. Admin adds blocked words/phrases (one per line) in plugin settings
  2. When user clicks Publish, plugin scans title, content, and excerpt
  3. If blocked words found:
    • Instant popup shows which words are blocked
    • Post is saved as draft automatically
    • Admin notice displays after page reload
  4. 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

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0
这个插件是可用的下载,适用于您的站点。