wpcf7_use_recaptcha_net

wpcf7_use_recaptcha_net

Hook Type: filter

See hook in core

Displaying hooks found in version: contact-form-7.6.0.1

apply_filters('wpcf7_use_recaptcha_net') is found 2 times:

  • /modules/recaptcha/recaptcha.php line 43
    	}
    
    	$url = 'https://www.google.com/recaptcha/api.js';
    
    	if ( apply_filters( 'wpcf7_use_recaptcha_net', false ) ) {
    		$url = 'https://www.recaptcha.net/recaptcha/api.js';
    	}
    
    	wp_register_script( 'google-recaptcha',
    		add_query_arg(
    			array(
    
  • /modules/recaptcha/service.php line 136
    		}
    
    		$endpoint = 'https://www.google.com/recaptcha/api/siteverify';
    
    		if ( apply_filters( 'wpcf7_use_recaptcha_net', false ) ) {
    			$endpoint = 'https://www.recaptcha.net/recaptcha/api/siteverify';
    		}
    
    		$sitekey = $this->get_sitekey();
    		$secret = $this->get_secret( $sitekey );