Snippets

Visser Labs Disable "Scheduled export e-mail of ... returned false when sending to ..." notice in Scheduled Exports

Created by Michael Visser
1
2
3
4
5
6
7
8
9
<?php
function custom_woo_ce_cron_export_email_wp_mail_failure_notice() {

    // Turn off the error notice
    return false;

}
add_filter( 'woo_ce_cron_export_email_wp_mail_failure_notice', 'custom_woo_ce_cron_export_email_wp_mail_failure_notice' );
?>

Comments (0)