wpcf7_recaptcha_add_form_tag_recaptcha

The Contact Form 7 wpcf7 recaptcha add form tag function.

Description

wpcf7_recaptcha_add_form_tag_recaptcha(); 

Usage

  1. if ( !function_exists( 'wpcf7_recaptcha_add_form_tag_recaptcha' ) ) { 
  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_add_form_tag_recaptcha(); 
  7.  

Defined (1)

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

/modules/recaptcha.php  
  1. function wpcf7_recaptcha_add_form_tag_recaptcha() { 
  2. $recaptcha = WPCF7_RECAPTCHA::get_instance(); 
  3.  
  4. if ( $recaptcha->is_active() ) {