Invisible reCaptcha for WordPress


Invisible reCaptcha for WordPress 是一款功能強大的外掛,可以將 Google 的隱形 reCAPTCHA 整合至 WordPress 網站。


WordPress 隱形 reCAPTCHA

- Login form protection - annihilates Brute Force attacks
- Registration form protection
- Comments form protection
- Forgot Password form protection

WooCommerce 隱形 reCAPTCHA

- Login form protection
- Registration form protection
- Product Review form protection
- Lost Password form protection
- Reset Password form protection

Contact Form 7 Invisible reCaptcha
– 使用隱形 reCAPTCHA 保護網站上由 Contact Form 7 製作的表單

Gravity Forms 隱形 reCAPTCHA
– 使用隱形 reCAPTCHA 保護網站上由 Gravity Forms 製作的表單

Ultra Community 隱形 reCAPTCHA
– 保護登入表單
– 保護註冊表單

BuddyPress 隱形 reCAPTCHA
– 使用隱形 reCAPTCHA 保護 BuddyPress 的註冊表單


WordPress 多站網路中,多站網路管理員能為整個網路啟用這個外掛,也能僅為單一網站啟用這個外掛。


請查看 Invisible reCaptcha for WordPress 官方技術支援論壇

擴充隱形 reCAPTCHA

在此提供一些能協助開發者將隱形 reCAPTCHA 整合至任何外掛或自訂表單的勾點。


- google_invre_render_widget_action - renders the recaptcha widget


- google_invre_is_valid_request_filter   - used to check if Google approved the request (returns bool true/false)
- google_invre_widget_output_html_filter - used to change the recaptcha widget output
- google_invre_language_code_filter      - used to change the badge/challenge language code
- google_invre_badge_position_filter     - used to change the badge position (possible returning values are: 'bottomright', 'bottomleft', 'inline')

隱形 reCAPTCHA 勾點使用範例

  • 在任何表單中加入隱形 reCAPTCHA


  • 驗證表單發佈要求

    $is_valid = apply_filters(‘google_invre_is_valid_request_filter’, true);
    if( ! $is_valid )
    // handle error here
    // continue with your logic

  • 變更服務徽章/驗證方式語言代碼

    add_filter( ‘google_invre_language_code_filter’, ‘myprefix_change_recaptcha_language’ );
    function myprefix_change_recaptcha_language($language_code){
    $language_code = ‘zh_TW’; // Chinese (Traditional)
    return $language_code;

檢視全部 reCaptcha 語言代碼

請注意,這個外掛需要 PHP 5.3 或更新版本才能使用。


2020 年 2 月 11 日
Hi, Thank you for this great plugin! Works like a charm. Alex Spataru
2019 年 12 月 25 日
The hooks work great, easy to integrate with bbPress and any other plugin! Would be nice if the description of the plugin where the hooks are explained had a better formatting and used proper single quotes (when you copy and paste the code you get literary single quotation marks). Cheers!
2019 年 12 月 20 日
We use v2 recaptcha code + this plugin on a "all" of our sites with gravity forms. Unfortunately we have GF on the home page (for capturing leads) where this loads and it adds a bunch of bloat (granted from google). It would be nice if there was a way to optimize this so it didn't load an additional 20-25 requests. Pros: drops spam considerably with gravity forms. Easy to implement. Cons: slows your pagespeed scores down, can't defer JS otherwise it may not work. Adds about 20 or more resources from google just to enable recaptcha v2.
2019 年 11 月 19 日
I have it already installed with Contact Form 7 - but have also added this plugin to take care of woocommerce side. Seems to work well with no issues. Thanks for contributing this - your efforts are appreciated 🙂 Big ups to you.
閱讀全部 116 則使用者評論


以下人員參與了開源軟體〈Invisible reCaptcha for WordPress〉的開發相關工作。


Invisible reCaptcha for WordPress 外掛目前已有 7 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Invisible reCaptcha for WordPress 外掛本地化為台灣繁體中文版


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄




  • Fixed the compatibility with WPML 4.x – the multilingual WordPress plugin




  • Fixed PHP wrong Namespace issue
  • Fixed PHP warning when contact forms settings were saved for the first time
  • Moved Plugin Menu to Settings
  • Fixed PHP warning when contact forms settings were saved for the first time
  • Moved Plugin Menu to Settings



  • Fixed WooCommerce login and registration issue
  • Added Invisible reCaptcha for BuddyPress


  • Fixed Contact Form 7 issue reported by @silvercode
  • Added Invisible reCaptcha for Gravity Forms


  • Multisite compatible
  • Network interface ready
  • Fixed PHP7 warning


  • Added WordPress hooks for custom forms/plugins integrations


  • Added Badge Position option
  • Added Badge Custom CSS option
  • Added Language option


  • Fixed the Strict Standards Warning on PHP 5.4+


  • Initial release