We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34fc1e8 commit e65183bCopy full SHA for e65183b
file-upload-max-filesize.php
@@ -0,0 +1,9 @@
1
+<?php
2
+
3
+/**
4
+* Change the max filesize for file uploads in HTML Forms Premium to 1MB
5
+*/
6
+add_filter( 'hf_upload_max_filesize', function( $size ) {
7
+ // size in bytes, 1000000 = 1MB
8
+ return 1000000;
9
+});
0 commit comments