wpcf7_add_tag_generator_file

The Contact Form 7 wpcf7 add tag generator file function.

Description

wpcf7_add_tag_generator_file(); 

Usage

  1. if ( !function_exists( 'wpcf7_add_tag_generator_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_tag_generator_file(); 
  7.  

Defined (1)

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

/modules/file.php  
  1. function wpcf7_add_tag_generator_file() { 
  2. $tag_generator = WPCF7_TagGenerator::get_instance(); 
  3. $tag_generator->add( 'file', __( 'file', 'contact-form-7' ),