wpcf7_recaptcha_response

The Contact Form 7 wpcf7 recaptcha response function.

Description

wpcf7_recaptcha_response(); 

Usage

  1. if ( !function_exists( 'wpcf7_recaptcha_response' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7/modules/recaptcha.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wpcf7_recaptcha_response(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/modules/recaptcha.php  
  1. function wpcf7_recaptcha_response() { 
  2. if ( isset( $_POST['g-recaptcha-response'] ) ) { 
  3. return $_POST['g-recaptcha-response']; 
  4.  
  5. return false;