Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Request WPCF7 constant for file types

$
0
0

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


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>