🛡️ DK SPAM SHIELD • OFFICIAL DOCUMENTATION

Zero-Bloat Anti-Spam & Security Engine

Everything you need to know about setting up multi-layer defense, invisible honeypot traps, cryptographic time-gates, Cloudflare Turnstile, Google reCAPTCHA, and native form integrations.

Why Choose DK Spam Shield?

Lightweight, bulletproof, and privacy-first anti-spam architecture built for speed and security.

Zero Bloat & Fast

Executes locally in pure PHP with sub-millisecond overhead. No remote API lookups required in local mode.

4-Layer Local Pipeline

Invisible Honeypot, cryptographic Time-Gate, dynamic JS token, and accessible Math Challenge puzzles.

Turnstile & reCAPTCHA

Seamless native integration with Cloudflare Turnstile (Managed/Interactive) and Google reCAPTCHA v2/v3.

Deep Form Integrations

Works out of the box with WordPress Core, WooCommerce, Elementor Pro Forms, CF7, WPForms, and Gravity Forms.

Bulk Comment Cleaner

Purge thousands of spam, pending, or trash comments with 1-click batch cleanup directly from comments screen.

IP Access Control

Whitelist and Blacklist IP rules with single-click actions, exact IPs, wildcards (*), and CIDR ranges.

Quick Start in 3 Easy Steps

Performance At A Glance

Local Privacy Protection
0 %
External Tracking Overhead
0 ms

Protection Modes Deep Dive

Select the ideal protection strategy based on your privacy and user experience requirements.

Comprehensive Form Integrations

Toggle spam protection on all standard WordPress entry points with single-click switches.

WordPress Native

WooCommerce Store

Form Builders & APIs

IP Access Control & Subnets

DK Spam Shield supports robust IP whitelist and blacklist rules with support for single IPs, wildcard subnets, and standard CIDR notation:

  • 192.168.1.50 — Single IP address
  • 192.168.1.* — Wildcard class C range
  • 10.0.0.0/24 — Standard CIDR subnet mask

Bulk Comment Cleaner

Clean up existing spam without installing bulky separate cleaner plugins. Safely purge comments in batches:

  • Spam Cleaner: Deletes all comments marked as Spam in one click.
  • Pending Cleaner: Purges unmoderated pending queue.
  • Trash Cleaner: Empties the comments trash bin.
  • Comments Screen Button: Quick action button on the native WordPress comments list screen.

Frequently Asked Questions

Answers to commonly asked questions and configuration tips.

No. When operating in Local Protection mode, all verification checks (Honeypot, Time-Gate, Math, JS Token) execute in pure PHP and vanilla JavaScript with sub-millisecond response times. No external network requests or tracking scripts are loaded.

The plugin injects an invisible input field that is hidden from human visitors via CSS position and aria-hidden attributes. Automated spam bots automatically scan and fill all inputs on a page. If this hidden field contains any text upon submission, the request is immediately blocked as a spam bot.

Automated scripts submit forms within milliseconds of loading a page. The Time-Gate generates an HMAC-signed timestamp token on render. When submitted, the plugin calculates the elapsed time. You can customize the minimum required duration (default: 3 seconds) under Settings > General.

Navigate to Settings > DK Spam Shield > IP Rules tab. Enter your IP address (e.g. 192.168.1.100) or your network subnet in the Whitelist box and save. Whitelisted IPs bypass all security challenges completely.

Log into your Cloudflare Dashboard, go to Turnstile, and create a new widget with your website domain. Copy your Site Key and Secret Key, then switch Protection Mode to “Cloudflare Turnstile” in DK Spam Shield settings and paste the keys.

Yes! Simply ensure the respective switches (“Elementor Pro Forms” and “Contact Form 7”) are enabled under Settings > Form Integrations. The plugin hooks directly into the validation pipelines without requiring shortcodes.

Need Help or Have Feature Requests?

DK Spam Shield is free and open-source. For assistance, reach out on the WordPress support forums or support the developer below.