wpcf7_add_form_tag_checkbox

The Contact Form 7 wpcf7 add form tag checkbox function.

Description

wpcf7_add_form_tag_checkbox(); 

Usage

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

Defined (1)

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

/modules/checkbox.php  
  1. function wpcf7_add_form_tag_checkbox() { 
  2. wpcf7_add_form_tag( array( 'checkbox', 'checkbox*', 'radio' ),  
  3. 'name-attr' => true,  
  4. 'selectable-values' => true,  
  5. 'multiple-controls-container' => true ) );