fg_entryautomation_export_email_message
Description
This filter is executed when attempting to send the export action email and can be used to modify the message of the export email.
Usage
PHP
add_filter( 'fg_entryautomation_export_email_message', 'your_function_name', 10, 4 );
Parameters
- $message string
The current Automation action’s export email message. - $task Task
The current Entry Automation task. - $form array
The current Automation action’s form. - $file_name string
The file name of the current Automation action’s export file.
Examples
Adding a Payment Summary
This example uses the search criteria to retrieve the entries being exported and generates a payment summary.