WordPress plugin intelligence profile

AntiSpam Shield by LukaCodes

Block comment spam, brute-force logins and bot registrations with reCAPTCHA v3 or Cloudflare Turnstile. Lightweight, no bloat.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version1.1.4
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 6.0 · PHP 8.0
Directory statusactive
Last directory update21 May 20265mo ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records AntiSpam Shield by LukaCodes version 1.1.4 as active, updated 5mo ago and tested up to WordPress 7.0.

Overview

About this plugin

AntiSpam Shield by LukaCodes is a lightweight, no-bloat plugin that protects your WordPress comment section and contact forms from spam. Six independent tools, one settings page. Read the full documentation.

  • Disable Website Field — Removes the URL/website field from the comment form. Works with all themes, including those that hardcode the field (CSS fallback included).
  • Strip Links from Comments — Automatically removes all <a href> hyperlinks from comment content — both on display and before saving to the database. Spammers get zero benefit from posting links.
  • reCAPTCHA v3 — Adds Google’s invisible bot-score protection. No checkbox, no puzzle, no friction for real users. Bots are silently blocked server-side.
  • Cloudflare Turnstile — A privacy-friendly CAPTCHA alternative. Mutually exclusive with reCAPTCHA v3 — enabling one automatically disables the other.
  • Login Shield — Adds CAPTCHA to the WordPress login form ( wp-login.php ). Stops brute-force bots silently.
  • Registration Shield — Adds CAPTCHA to the WordPress registration form. Blocks bot account creation.
  • WPForms Integration — Apply the same CAPTCHA protection to WPForms Lite — using the same keys you already configured, no extra setup.
  • Easy Contact Form by LukaCodes Integration — Apply the same CAPTCHA protection to forms created with the companion Easy Contact Form plugin.

All features are independent — enable only what you need.

Login & Registration Shield

php:

  • Login Shield — Hooks into wp_authenticate_user for server-side verification after credentials are checked. Returns a WP_Error if CAPTCHA fails — WordPress displays it as a normal login error.
  • Registration Shield — Hooks into registration_errors to add CAPTCHA validation during registration. Works alongside all other WordPress registration validations.

Both are independently togglable in the settings panel. Admins already logged in are never affected.

WPForms Integration

0 introduces CAPTCHA protection for WPForms Lite:

  • Hooks into wpforms_display_submit_before to inject the CAPTCHA widget before the submit button.
  • Hooks into wpforms_process for server-side token verification.
  • Works with both reCAPTCHA v3 (invisible) and Cloudflare Turnstile (visible widget).

Note: WPForms Pro includes its own native CAPTCHA integration — this feature is intended for WPForms Lite users only.

Easy Contact Form by LukaCodes Integration

4 adds CAPTCHA protection for forms created with Easy Contact Form by LukaCodes:

  • Injects the CAPTCHA widget (Turnstile) or invisible token (reCAPTCHA v3) into every Easy Contact Form on the page.
  • Hooks into Easy Contact Form’s lukacodes_comment_shield_check filter for server-side token verification before the submission is processed or emails are sent.
  • Uses the same CAPTCHA keys you already configured — no extra setup.
  • When a token fails, the user sees a CAPTCHA-specific error message inline; the submission is never stored or emailed.

Why AntiSpam Shield?

Most anti-spam plugins are heavy, require accounts, or add ugly CAPTCHAs. AntiSpam Shield by LukaCodes is different:

  • ~30 KB total — no external libraries, no jQuery dependency
  • Settings page with live key testing — verify your reCAPTCHA or Turnstile keys before enabling
  • Link stripping preview — paste any comment text and see exactly what gets removed
  • Graceful fallback: if Google’s or Cloudflare’s API is unreachable, comments are held for moderation (never lost)
  • Trusted users (administrators) bypass CAPTCHA checks automatically
  • Mutual exclusion: reCAPTCHA v3 and Cloudflare Turnstile cannot be active at the same time
  • WP Coding Standards compliant — fully escaped output, nonce-protected AJAX

reCAPTCHA v3 — How it works

When a visitor submits a form, JavaScript silently requests a score token from Google. 0). No user interaction required.

Cloudflare Turnstile — How it works

A Turnstile widget is rendered inside the form. When the visitor completes the challenge, a token is submitted and verified server-side against the Cloudflare API.

Third-Party Services

This plugin optionally uses the following third-party services:

Google reCAPTCHA v3

A service provided by Google LLC.

  • What it does: Detects bots and spam on your comment form and contact forms without user interaction.
  • When data is sent: Only when reCAPTCHA v3 is enabled. A token is sent to https://www.google.com/recaptcha/api/siteverify on each form submission.
  • What data is sent: The visitor’s IP address and a reCAPTCHA token.
  • Google Privacy Policy: https://policies.google.com/privacy
  • Google Terms of Service: https://policies.google.com/terms

Cloudflare Turnstile

A service provided by Cloudflare, Inc.

  • What it does: Presents a privacy-friendly CAPTCHA widget on comment and contact forms.
  • When data is sent: Only when Cloudflare Turnstile is enabled. A token is sent to https://challenges.cloudflare.com/turnstile/v0/siteverify on each form submission.
  • What data is sent: The visitor’s IP address and a Turnstile token.
  • Cloudflare Privacy Policy: https://www.cloudflare.com/privacypolicy/
  • Cloudflare Terms of Service: https://www.cloudflare.com/website-terms/

Both services are entirely optional. If you do not enter API keys or enable either CAPTCHA, no data is sent to any third party.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • anti spam
  • recaptcha
  • turnstile
  • wpforms
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 6.0 · PHP 8.0
Update activity21 May 20265mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.