WordPress – Contact Form 7 File Upload Limit

One of my client’s wants a Contact Form with upload files.

To allow files bigger than 1Mb? WTF, I had to edit

wp-content/plugins/contact-form-7/modules/file.php

and comment

$allowed_size = 1048576; // default size 1 MB

add (or correct the value)

$allowed_size = 100048576;

 

One thought on “WordPress – Contact Form 7 File Upload Limit

Leave a Reply to Lonesome Walker Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.