Add Captcha to WordPress Forms for Form Validation with Gregwar Captcha

Posted in:
Update time:2020-11-16

We offer WordPress Themes and Plugins Custom Development Services

This site has long undertaken WordPress themes, plugins, WooCommerce-based store mall development business. We have 10 years of experience in WordPress development, if you want to Developing Websites with WordPress, please contact WeChat: iwillhappy1314 or email: amos@wpcio.com for inquiries.

2 thoughts on “使用 Gregwar Captcha 为 WordPress 表单添加验证码实现表单验证

  1. get_option( ‘account_captcha’ )。此处使用option的方式来保存和获取数据,如果有多个浏览器访问是,第一个没提交的用户就会被第二个打开页面的用户生成的验证码替换了。这种处理肯定是有问题的

    1. 是的,实际使用的时候,这样处理肯定不行。这里只是为了演示代码的作用,实际处理中,建议用 Session 处理。

发表回复

Your email address will not be published. 必填项已用 * 标注

*