Description
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 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 a 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( $email_address ) { return '[email protected]'; } add_filter( 'wpforms_emails_summaries_cron_to_email', 'wpf_dev_emails_mailer_to_email_summary', 1 );