Recaptcha V2 not working, need help

[ad_1]

Hello,

At the provided link, the only available forms are in Elementor and not in Contact Form 7. This plugin only works with Contact Form 7 forms.

We do have a wpcf7_recaptcha_locale filter hook in the following plugin file that you could use to switch the ReCaptcha language:

recaptcha-v2.php LN 70
apply_filters( ‘wpcf7_recaptcha_locale’, get_locale() )

The usage of the filter hook could look something like this:

/**
 * Return the curent page ReCaptcha locale.
 * Defaults to the site locale from get_locale() function.
 * 
 * @param String $locale
 * 
 * @return String $locale
 */
add_filter( 'wpcf7_recaptcha_locale', function( $locale ) {
	
	// Example: domain.com/?lang=ru
	if( isset( $_GET, $_GET['lang'] ) && 'ru' === $_GET['lang'] ) {
		$locale="ru_RU";
	}
	
	return $locale;
	
} );

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer