Caldera Forms – How to LIMIT the file size of uploads (Simple File Uploader)

function increase_upload_size_limit( $limit ) {
return 1048576;
}
add_filter( ‘upload_size_limit’, ‘increase_upload_size_limit’ );

Caldera Forms has two different file upload form elements.
I am using the simple uploader (not the Advanced).

I want to restrict the file upload size to 1MB.
The above code in functions.php doesn’t work.

Any suggestions?

Read more here:: Caldera Forms – How to LIMIT the file size of uploads (Simple File Uploader)

Leave a Reply

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