Contact form 7 >= version 5.1 both reCaptcha v2 & v3 won't display in the UI regardless on reCaptcha keys in Integration tab.
Solution:
- Install Advanced noCaptcha & invisible Captcha (v2 & v3) in plugin page. nocaptcha
Add the keys in the plugin settings
Tick the box where reCaptcha is needed from the list
- Login Form
- Registration Form
- Multisite User Signup Form
- Lost Password Form
- Reset Password Form
- Comment Form
- bbPress New topic
- bbPress reply to topic
- BuddyPress register
- WooCommerce Checkout
*Note: For other forms
To show noCaptcha in a form use do_action( 'anr_captcha_form_field' )
OR [anr-captcha]
To verify use anr_verify_captcha()
. It will return true on success otherwise false.