wpcf7_add_form_tag_file
The Contact Form 7 wpcf7 add form tag file function.
Description
wpcf7_add_form_tag_file();
Usage
if ( !function_exists( 'wpcf7_add_form_tag_file' ) ) { require_once ABSPATH . PLUGINDIR . 'contact-form-7/modules/file.php'; } // NOTICE! Understand what this does before running. $result = wpcf7_add_form_tag_file();
Defined (1)
The function is defined in the following location(s).
- /modules/file.php
- function wpcf7_add_form_tag_file() {
- wpcf7_add_form_tag( array( 'file', 'file*' ),
- 'wpcf7_file_form_tag_handler', array( 'name-attr' => true ) );
- }