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


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

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.