Kanshi Spam Protection for Elementor Forms
Protect your Elementor Forms from spam with Kanshi's intelligent AI-powered detection.
Install in
Protect your Elementor Forms with Kanshi‘s intelligent, AI-powered spam detection. No CAPTCHA puzzles, no annoying challenges, and no changes to your form’s design. Connect your Kanshi Site Key, then enable protection on each classic or Atomic form you want Kanshi to evaluate.
Requirements and compatibility
This plugin requires Elementor and Elementor Pro 3.19 or later for classic Forms. Atomic Forms support is available on Elementor releases that include the Atomic Form (e-form) and the Elementor Pro Atomic Forms submission handler.
Elementor Pro is required because its Forms module provides the Form widget, custom field registration, and server-side validation lifecycle used by Kanshi to inspect submissions before Elementor processes its form actions.
Elementor Pro is a commercial plugin and is not available as a WordPress.org dependency slug, so it cannot be declared in WordPress’s Requires Plugins header. The plugin checks for Elementor and Elementor Pro at runtime and displays an administrator notice if either dependency is unavailable. It also avoids loading Elementor Pro classes when the required dependencies are missing.
Getting started
- Install and activate Elementor and Elementor Pro (version 3.19 or later for classic Forms; Atomic Forms additionally require the Atomic Form APIs in both plugins).
- Open Elementor Settings Integrations.
- Enter your Kanshi Site Key, Get your free Kanshi Site Key by creating an account at Kanshi.
- Click Validate & Sync to verify your connection and synchronize your subscription information, including your plan and expiration date.
- In a classic Form, add Kanshi Spam Protection to its field list. In an Atomic Form, enable Kanshi Spam Protection in its form settings.
- Save your form. Kanshi protection is now enabled for that form.
The classic Kanshi field is invisible to website visitors and does not affect the form’s appearance or layout. Protection is enabled individually for each classic or Atomic form.
Supported forms
The classic Elementor Pro Form widget remains supported using its native custom field and server-side validation hooks. For Atomic Forms, enable Kanshi Spam Protection in the Atomic Form settings. The plugin integrates with Elementor Pro’s elementor_pro/atomic_forms/spam_check hook, so the submission is checked after Elementor validates it and before configured actions run. Atomic Forms support is registered only when both installed plugins meet the version and API-file checks.
External services
This plugin connects to the Kanshi API at api.kanshi.works to verify Site Keys, synchronize subscription information, and evaluate submissions from protected Elementor Forms. This external connection is essential for the plugin’s spam detection and subscription management functionality.
Site Key verification and subscription synchronization
When an administrator clicks Validate & Sync, the plugin sends the configured Site Key and the URL of the WordPress website to the Kanshi license verification endpoint.
If a Site Key is configured, the plugin also periodically synchronizes subscription information through a scheduled check every 12 hours.
The API response may include:
- Site Key validity.
- Domain authorization.
- Website information.
- Subscription plan.
- Subscription status.
- Subscription expiration date.
The Site Key is stored in the WordPress site’s options and is transmitted to Kanshi only for license verification, subscription synchronization, and spam validation requests.
Spam detection and submission data
When a visitor submits a classic Elementor Form containing the Kanshi Spam Protection field, or an Atomic Form with Kanshi protection enabled, the plugin sends the names and text values of eligible form fields to the Kanshi spam validation endpoint for analysis.
The plugin excludes:
- Password fields.
- Payment credentials and payment fields.
- WordPress nonce fields.
- CAPTCHA values.
- Kanshi protection marker fields.
File contents, client IP addresses, and user-agent information are not sent by this plugin.
Kanshi validation is performed only for forms where the administrator has explicitly enabled protection using the supported form-specific control.
Subscription eligibility is synchronized every 12 hours and cached subscription information is considered stale after 24 hours.
Service provider and policies
The Kanshi service is provided by Kanshi.
For information about data handling and service terms, please review:
Create a Kanshi account
The Create an account button links to app.kanshi.works. No information is transmitted to that website unless an administrator chooses to follow the link.
Written by Joobi from the project's own listing. See the source page
1.1.7
- Hotfix for missing commit files
1.1.6
- Use Elementor Pro’s native Atomic Forms spam-check hook and guard its schema/control APIs.
- Exclude payment/security fields and safely normalize malformed submission/API values.
- Bound Kanshi HTTP request time and response size; retain a saved Site Key when a candidate key fails verification.
1.1.5
- Guard Atomic Forms integration on both Elementor and Elementor Pro versions and API files.
- Avoid eager Atomic class autoloading and gracefully skip unavailable Atomic editor APIs.
1.1.4
- Add conditional Atomic Forms support with an opt-in setting on each Atomic Form.
- Keep classic Elementor Pro Forms support unchanged.
1.0.0
- Initial release.
Follow this listing's changes (Atom feed)