WordPress plugin intelligence profile

Selective reCAPTCHA Loader for CF7

Load reCAPTCHA only where Contact Form 7 forms are present or on all pages as desired.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.8
Current version0.2.1
WordPress coverageTested up to WordPress 6.8
Minimum stackWP 6.0 · PHP 7.4
Directory statusactive
Last directory update23 Sept 20251y 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 Selective reCAPTCHA Loader for CF7 version 0.2.1 as active, updated 1y ago and tested up to WordPress 6.8.

Overview

About this plugin

Selective reCAPTCHA Loader for CF7 is a performance optimization plugin that intelligently controls when and where Google reCAPTCHA assets are loaded for Contact Form 7 forms. Instead of loading reCAPTCHA on every page, this plugin provides two modes to optimize your site’s performance.

Key Features

🚀 Two Loading Modes:

– Selective Mode (Default): Only loads reCAPTCHA on pages that contain Contact Form 7 forms

– Global Mode: Always loads reCAPTCHA on all front-end pages (traditional behavior)

🎯 Smart Detection:

– Detects CF7 shortcodes in post content

– Identifies CF7 blocks in Gutenberg editor

– Whitelist-based override for specific pages

⚙️ Advanced Configuration:

– Whitelist specific pages by ID, slug, or regex patterns (pages matching the whitelist will always load reCAPTCHA)

– Comprehensive filter system for developers

How It Works

The plugin hooks into WordPress’s script enqueuing system with a priority of 120, analyzing each page to determine if Contact Form 7 forms are present. Based on your selected mode and detection results, it either allows or prevents reCAPTCHA assets from loading.

Caching Considerations:

– Per-page detection results are cached per request

– Cache automatically clears when plugin settings change

Developer Features

Filters:

– selerelo_is_form_page – Modify form page detection

– selerelo_recaptcha_handles – Define which script handles to control

Template Functions:

– selerelo_should_load_recaptcha() – Check if reCAPTCHA will load

– selerelo_is_form_page() – Check if page has forms

– selerelo_get_option() – Get plugin options

Technical Details

Minimum Requirements:

0 or higher

4 or higher

8 or higher

Performance Impact:

– Minimal overhead: Detection logic is lightweight and cached

– Reduces script loading on pages without forms

– Can significantly improve page load times on form-free pages

Security:

– All user inputs are sanitized and escaped

– Uses WordPress nonces for form submissions

– Follows WordPress coding standards

– No external API calls or tracking

日本語版説明

Selective reCAPTCHA Loader for CF7 は、Contact Form 7 のパフォーマンスを最適化するプラグインです。全ページでreCAPTCHAを読み込む代わりに、フォームがあるページでのみ読み込みます。

主な特徴

2つの読み込みモード:

– Selectiveモード(推奨): フォームがあるページのみ読み込み

– Globalモード: 全ページでreCAPTCHA読み込み(従来方式)

スマート検出:

– ショートコード、Gutenbergブロック内のフォームを検出

– ホワイトリスト機能(ページID、スラッグ、正規表現対応、ホワイトリストに一致したページは 必ず reCAPTCHAを読み込みます)

インストール

  • プラグインファイルを /wp-content/plugins/selective-recaptcha-loader/ にアップロード
  • 管理画面の「プラグイン」でプラグインを有効化
  • 「設定」 → 「Selective reCAPTCHA」で設定
  • Selectiveモードのまま使用を推奨(ほとんどのサイトに最適)

使い方

Globalモード: 全ページでreCAPTCHAを読み込みます。サイト全体にフォームがある場合に適しています。

Selectiveモード: フォーム検出したページのみreCAPTCHAを読み込みます。最大のパフォーマンス向上が期待できます。

注意事項

キャッシュプラグイン:

ほとんどのキャッシュプラグインと互換性があります。検出ロジックはキャッシュ前に実行されます。

WordPress.org metadata

Plugin tags

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

  • contact form 7
  • forms
  • optimization
  • performance
  • recaptcha
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.8

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

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.8
Minimum requirementsWordPress 6.0 · PHP 7.4
Update activity23 Sept 20251y 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.