wpcf7_upload_tmp_dir
The Contact Form 7 wpcf7 upload tmp dir function.
Description
wpcf7_upload_tmp_dir();
Usage
if ( !function_exists( 'wpcf7_upload_tmp_dir' ) ) { require_once ABSPATH . PLUGINDIR . 'contact-form-7/modules/file.php'; } // NOTICE! Understand what this does before running. $result = wpcf7_upload_tmp_dir();
Defined (1)
The function is defined in the following location(s).
- /modules/file.php
- function wpcf7_upload_tmp_dir() {
- if ( defined( 'WPCF7_UPLOADS_TMP_DIR' ) )
- return WPCF7_UPLOADS_TMP_DIR;
- else
- return wpcf7_upload_dir( 'dir' ) . '/wpcf7_uploads';
- }