Hide reCAPTCHA on Non-Form Pages for Contact Form 7

Simple little plugin that hides reCAPTCHA on pages without Forms for Contact Form 7

Author:Abhi C. (profile at wordpress.org)
WordPress version required:3.9.2
WordPress version tested:6.0.8
Plugin version:1.0.2
Added to WordPress repository:10-06-2022
Last updated:10-06-2022
Rating, %:0
Rated by:0
Plugin URI:https://abhi.world/recaptcha-form-pages-only-...
Total downloads:345
plugin download
Click to start download

Hide reCAPTCHA on all pages except the pages with forms (like the contact page). By default Contact Form 7 shows Google reCAPTCHA on all pages, including the homepage, posts and shop pages. When we only need it on pages with Forms, like the Contact page. This plugin will look for pages with form shortcodes and show reCAPTCHA on those pages, and hide it on all other pages.

Dependencies

  1. WordPress v3.9.2 and later (Tested up to 6.0)
  2. PHP v5.6.0 and later (Tested up to 7.4)
  3. Contact Form 7 (Tested up to 5.5.6.1)

License

Hide reCAPTCHA on Non-Form Pages for Contact Form 7 is released under the GPLv2 license, same as that of WordPress. See the LICENSE file for the complete LICENSE text.


ChangeLog