Forked from travislopes/fg_entryautomation_maximum_attachment_size.php
Created
August 21, 2017 15:45
-
-
Save ForGravity/5e798ac9ed6fbfb34fe90862f8f9fcdf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'fg_entryautomation_maximum_attachment_size', 'increase_attachment_size', 10, 4 ); | |
function increase_attachment_size( $maximum_file_size, $settings, $form, $file_name ) { | |
return 10485760; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment