Description

A filter used to determine what email address is used for the delivery of the weekly email summary report.

Parameters

$email_address
(string) (Required) Email address used for weekly summary report.

Source

wpforms/src/Emails/Summaries.php

More Information

The wpforms_emails_summaries_cron_to_email filter is used to determine what email address is used for the delivery of the weekly email summary.

Example

/*
 * Email address for weekly email summary
 *
 * @link https://wpforms.com/developers/wpforms_emails_summaries_cron_to_email/
 * 
 * @param $email_address Email address.
 *
 * return string
 */
function wpf_dev_emails_mailer_to_email_summary() {
 
    return 'yourname@email.com';
}
add_filter( 'wpforms_emails_summaries_cron_to_email', 'wpf_dev_emails_mailer_to_email_summary' );

Snippet Reference: Change the Default Email for Weekly Email Summaries