wpcf7_add_form_tag_file

The Contact Form 7 wpcf7 add form tag file function.

Description

wpcf7_add_form_tag_file(); 

Usage

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

Defined (1)

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

/modules/file.php  
  1. function wpcf7_add_form_tag_file() { 
  2. wpcf7_add_form_tag( array( 'file', 'file*' ),  
  3. 'wpcf7_file_form_tag_handler', array( 'name-attr' => true ) );