fg_entryautomation_export_email_subject

Description

This filter is executed when attempting to send the export action email and can be used to modify the subject of the export email.

Usage

PHP
add_filter( 'fg_entryautomation_export_email_subject', 'your_function_name', 10, 4 );

Parameters

  • $subject string
    The current Automation action’s export email subject.
  • $settings array
    The current Automation action’s settings.
  • $form array
    The current Automation action’s form.
  • $file_name string
    The file name of the current Automation action’s export file.

Examples

Adding Date Range to Subject

This example uses the search criteria to add the date range to the email subject.