wpcf7_upload_file_name
wpcf7_upload_file_name
Appears in: contact-form-7.5.0.2, contact-form-7.5.0.3, contact-form-7.5.0.4, contact-form-7.5.0.5, contact-form-7.5.1, contact-form-7.5.1.1, contact-form-7.5.1.3, contact-form-7.5.1.4, contact-form-7.5.1.5, contact-form-7.5.1.6, contact-form-7.5.1.7, contact-form-7.5.1.8, contact-form-7.5.1.9, contact-form-7.5.2, contact-form-7.5.2.1, contact-form-7.5.2.2, contact-form-7.5.3, contact-form-7.5.3.1, contact-form-7.5.3.2, contact-form-7.5.4, contact-form-7.5.4.1, contact-form-7.5.4.2, contact-form-7.5.5.1, contact-form-7.5.5.2, contact-form-7.5.5.6, contact-form-7.5.5.6.1, contact-form-7.5.6, contact-form-7.5.6.1, contact-form-7.5.6.2, contact-form-7.5.6.3, contact-form-7.5.6.4, contact-form-7.5.7.2, contact-form-7.5.7.3, contact-form-7.5.7.4, contact-form-7.5.7.5.1, contact-form-7.5.7.6, contact-form-7.5.7.7, contact-form-7.5.8, contact-form-7.5.8.1, contact-form-7.5.8.2, contact-form-7.5.8.3, contact-form-7.5.8.4, contact-form-7.5.8.5, contact-form-7.5.8.6, contact-form-7.5.8.7, contact-form-7.5.9, contact-form-7.5.9.2, contact-form-7.5.9.3, contact-form-7.5.9.4, contact-form-7.5.9.5, contact-form-7.5.9.6, contact-form-7.5.9.8, contact-form-7.6.0
Hook Type: filter
Displaying hooks found in version: contact-form-7.6.0apply_filters('wpcf7_upload_file_name') is found 1 times:
- /includes/file.php line 66
$filename = $name; $filename = wpcf7_canonicalize( $filename, array( 'strto' => 'as-is' ) ); $filename = wpcf7_antiscript_file_name( $filename ); $filename = apply_filters( 'wpcf7_upload_file_name', $filename, $name, $options ); $filename = wp_unique_filename( $uploads_dir, $filename ); $new_file = path_join( $uploads_dir, $filename );