跳到内容

Advanced Custom Fields: reCAPTCHA Field

v1.3.3

Irvin Lim · 2015年7月9日 上架

Prevent spam on your Advanced Custom Fields (ACF) v5 frontend forms with Google reCAPTCHA.

正在使用
700+
评分
4.2 / 5
累计下载
1.8 万
最近更新
2019年1月12日
12 条评价需要 WordPress 3.0.1+已测试到 4.9.36

贡献者

截图

ACF reCAPTCHA customization in the ACF backend page. Enter your site and secret keys here.
ACF reCAPTCHA customization in the ACF backend page. Enter your site and secret keys here.
ACF reCAPTCHA Protection toggle under Field Group Settings. Use this to ensure that your forms are fully protected against spambots.
ACF reCAPTCHA Protection toggle under Field Group Settings. Use this to ensure that your forms are fully protected against spambots.
Example frontend form with ACF reCAPTCHA used with Conditional Logic. The textarea is only displayed when the reCAPTCHA is solved.
Example frontend form with ACF reCAPTCHA used with Conditional Logic. The textarea is only displayed when the reCAPTCHA is solved.

ACF reCAPTCHA brings Google reCAPTCHA to Advanced Custom Fields, to be used on frontend forms.

Features include:

  • ACF reCAPTCHA Protection ensures that spambots cannot circumvent reCAPTCHA to submit forms on the server-side
  • ACF-compliant client-side validation which prompts the user if reCAPTCHA is not clicked or had expired
  • Customizable reCAPTCHA options, including theme (light/dark), type (image/audio) and size (normal/compact)
  • Compatible with ACF Conditional Logic feature, which allows hiding/showing certain fields until the reCAPTCHA has been passed

For more detailed setup instructions, or to report an issue, please head over to the GitHub repository here.

ACF Frontend Forms

ACF reCAPTCHA is meant to be used only on frontend forms, in order to protect them from spam by spambots.

To create a frontend form programmatically, please view the official documentation on the ACF website here.

ACF Compatibility

ACF reCAPTCHA is currently only compatible with ACF v5 at the moment. If you would like to help to add support for v4, do submit a PR on GitHub.

GitHub

https://github.com/irvinlim/acf-recaptcha

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums