Replies: 0
Hello,
With much pleasure I am using Contact Form 7 for at least a dozen email forms. One thing would be very convenient for me (and possible for other people as well): not always having to specify all the file types I want to allow for attachments, if these differ from the default types (‘jpg|jpeg|png|gif|pdf|doc|docx|ppt|pptx|odt|avi|ogg|m4a|mov|mp3|mp4|mpg|wav|wmv’)
Therefore this request: would it be possible to add a Contact Form 7 constant, to be set in the wp-config.php file, like WPCF7_FILE_TYPES, that sets the default value of $file_type_pattern in modules\file.php?
Thank you in advance for looking into this!
Best regards,
Henk Barreveld