This filter is executed when attempting to send the export action email and can be used to set the maximum file size allowed for the export attachment.
add_filter( 'fg_entryautomation_maxium_attachment_size', 'your_function_name', 10, 4 );
The maximum file size allowed for attachment, in bytes. Defaults to 10485760 (or 2 MB).
The current Automation action’s settings.
The current Automation action’s form.
The file name of the current Automation action’s export file.
Increasing Attachment Size
This example increases the maximum allowed file size to 10 MB.