Add ReCaptcha to All Forms

I am looking for a programatic way to add the V2 ReCAPTCHA to all of the forms generated by Gravity Forms. We have a lot of clients that have seen a MAJOR increase in spam since COVID and to manually add ReCAPTCHA to all of their forms would be a nightmare.

Ideally I want to just create a plugin that will programatic add the ReCAPCHA field to all of the forms and remove it from the Admin side so no one adds a double on accident in the future. I can then push that out to all the clients sites. I am somewhat familiar with the Hooks and Filters for Gravity Forms, but I’m not sure where to start on this one.

The gform_pre_render and gform_pre_validation filters could be used to add the field for form display and validation. See the following example: https://d.pr/n/d6Gdyo

© 2008 - 2019. Gravity Forms is a project by Rocketgenius Inc.