Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save travislopes/ea4d44438a652ebdf66d6fde431753d2 to your computer and use it in GitHub Desktop.
Save travislopes/ea4d44438a652ebdf66d6fde431753d2 to your computer and use it in GitHub Desktop.
<?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