wpcf7_add_form_tag_captcha

The Contact Form 7 wpcf7 add form tag captcha function.

Description

wpcf7_add_form_tag_captcha(); 

Usage

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

Defined (1)

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

/modules/really-simple-captcha.php  
  1. function wpcf7_add_form_tag_captcha() { 
  2. wpcf7_add_form_tag( array( 'captchac', 'captchar' ),  
  3. 'wpcf7_captcha_form_tag_handler', array( 'name-attr' => true ) );