wpcf7_add_form_tag_acceptance

The Contact Form 7 wpcf7 add form tag acceptance function.

Description

wpcf7_add_form_tag_acceptance(); 

Usage

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

Defined (1)

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

/modules/acceptance.php  
  1. function wpcf7_add_form_tag_acceptance() { 
  2. wpcf7_add_form_tag( 'acceptance',  
  3. 'wpcf7_acceptance_form_tag_handler', array( 'name-attr' => true ) );