wpcf7_add_form_tag_select

The Contact Form 7 wpcf7 add form tag select function.

Description

wpcf7_add_form_tag_select(); 

Usage

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

Defined (1)

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

/modules/select.php  
  1. function wpcf7_add_form_tag_select() { 
  2. wpcf7_add_form_tag( array( 'select', 'select*' ),  
  3. array( 'name-attr' => true, 'selectable-values' => true ) );