WP Manifestindependent plugin directory
manifest / developer / disable-form

Form Guard (Disable on Non-Production)

Disable form for website on staging

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/roy-dela-torre/disable-form/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Disables forms sitewide on non-production domains with IP geolocation support and selective Contact Form 7 blocking. Form Guard is a WordPress plugin designed to protect your development and staging environments from accidental form submissions. It automatically detects when your site is running on a non-production domain and disables forms sitewide, preventing test data from being submitted or processed. Selective Form Disabling: Choose which Contact Form 7 forms to disable, or disable all forms globally Smart Geolocation: Displays different messages based on visitor's location (Philippines vs. others) using multiple detection methods Multiple IP Detection: Supports Cloudflare, server headers, and optional API-based geolocation with 24-hour caching Visual Indicators: Shows a dismissible banner message and visual form indicators Dual Protection: Both client-side (JavaScript) and server-side (PHP) form blocking Contact Form 7 Integration: Advanced CF7 integration with selective form disabling and server-side blocking Search Form Exception: Automatically preserves search functionality while disabling other forms Dynamic Form Detection: Handles dynamically loaded forms using