| 开发者 | pluginos |
|---|---|
| 更新时间 | 2026年9月26日 21:31 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[spamoff_bot_protection] shortcode[spamoff_bot_protection] | Manually place the captcha anywhere in a theme, page builder, or custom form.
| reCAPTCHA v2 Theme | Light or Dark, to match your site design |
| reCAPTCHA v2 Size | Normal or Compact |
| Failed Verification Message | Fully editable text shown to visitors who fail the check (default: "Verification failed. Please try again.") |
Shortcode Support
Use the [spamoff_bot_protection] shortcode to add Google reCAPTCHA to custom forms, page builders, or theme templates without writing custom code.
Use Cases
[spamoff_bot_protection] shortcode into any form (contact forms, custom checkout fields, etc.) for coverage outside the built-in list.wp-content/plugins/ or install via the Plugins screen.Yes. SpamOff supports Google reCAPTCHA v2 (checkbox) and reCAPTCHA v3 (invisible, score-based). You can switch between them at any time from the General Settings page.
Yes. The Block Checkout uses the Store API, and SpamOff injects a v3 token into the checkout request's extension data, then verifies it server-side before the order is built. The token refreshes automatically every 80 seconds (and immediately when the customer returns to the tab) so it never goes stale during a long checkout. Block Checkout always uses v3 — even if v2 is selected in the settings, v2 only applies to Classic Checkout and other forms.
Yes. SpamOff protects standard WordPress Login, Registration, Lost Password, and Comments forms in addition to WooCommerce forms. You can also use the [spamoff_bot_protection] shortcode to add it to any other form on your site.
Yes. The plugin declares compatibility on before_woocommerce_init.
The minimum score may be too strict. Lower Minimum Score in General Settings (try 0.3) and test again. Google adjusts scores based on reputation, so brand-new sites tend to score lower until they accumulate traffic.