Home / Disable / Disable All UpdraftPlus Email Notifications
Duplicate Snippet

Embed Snippet on Your Site

Disable All UpdraftPlus Email Notifications

This snippet completely disables all email notifications from UpdraftPlus, including backup reports, error notifications, warnings, and status updates. Works with both free and premium versions of UpdraftPlus

<10
Code Preview
php
<?php
/**
 * Comprehensive UpdraftPlus Email Notification Disabler
 * Add this code to your theme's functions.php or WPCode
 * By: Empathy First Media
 */
// Master switches and initialization prevention
add_filter('updraftplus_disable_all_mail_init', '__return_true');     // Master switch to disable email initialization
add_filter('updraftplus_email', '__return_false');                    // General email filter
add_filter('updraftplus_email_init', '__return_false');              // Stops email initialization
add_filter('updraftplus_email_override', '__return_false');          // Prevents email override attempts
add_filter('updraftplus_send_any_email', '__return_false');          // Catch-all for any remaining emails
add_filter('updraftplus_generic_email_filter', '__return_false');    // Generic catch-all filter
// Core backup and report notifications
add_filter('updraftplus_email_wholebackup', '__return_false');
add_filter('updraftplus_send_report', '__return_false');
add_filter('updraftplus_send_email_report', '__return_false');
add_filter('updraftplus_email_backup', '__return_false');
add_filter('updraftplus_backup_complete_status', '__return_false');
add_filter('updraftplus_backup_report_email', '__return_false');
add_filter('updraftplus_email_backup_and_download', '__return_false');
add_filter('updraftplus_final_backup_email', '__return_false');
// Error and warning notifications
add_filter('updraft_report_error', '__return_false');
add_filter('updraftplus_email_backup_warnings', '__return_false');
add_filter('updraftplus_email_notify_error', '__return_false');
add_filter('updraftplus_notify_warning', '__return_false');
add_filter('updraft_send_failed', '__return_false');
// Premium feature notifications
add_filter('updraftplus_autobackup_complete_email', '__return_false');
add_filter('updraftplus_clone_backup_complete_email', '__return_false');
add_filter('updraftplus_migration_backup_complete_email', '__return_false');
add_filter('updraftplus_migration_error_notice', '__return_false');
add_filter('updraftplus_configbackup_email', '__return_false');
add_filter('updraftplus_email_restore_complete', '__return_false');
add_filter('updraftplus_restored_backup_report', '__return_false');
add_filter('updraftplus_report_encryption_all', '__return_false');
// Remote storage notifications
add_filter('updraftplus_remote_storage_error_email', '__return_false');
add_filter('updraftplus_send_s3_error_report', '__return_false');
add_filter('updraftplus_send_generic_error_report', '__return_false');
add_filter('updraftplus_dropbox_test_report', '__return_false');
add_filter('updraftplus_google_drive_test_report', '__return_false');
add_filter('updraftplus_onedrive_test_report', '__return_false');
add_filter('updraftplus_rackspace_test_report', '__return_false');
add_filter('updraftplus_azure_test_report', '__return_false');
add_filter('updraftplus_sftp_test_report', '__return_false');
add_filter('updraftplus_webdav_test_report', '__return_false');
add_filter('updraftplus_s3generic_test_report', '__return_false');
add_filter('updraftplus_backblaze_test_report', '__return_false');
add_filter('updraftplus_send_failed_sftp_report', '__return_false');
// Report and digest notifications
add_filter('updraftplus_send_report_digest', '__return_false');
add_filter('updraftplus_report_form', '__return_false');
add_filter('updraftplus_report_body', '__return_false');
add_filter('updraftplus_report_ccto', '__return_false');
add_filter('updraftplus_report_extradescription', '__return_false');
add_filter('updraftplus_report_template_notice', '__return_false');
add_filter('updraftplus_send_all_reports', '__return_false');
// Schedule and reminder notifications
add_filter('updraftplus_email_reminder', '__return_false');
add_filter('updraftplus_send_schedule_backup_reminder', '__return_false');
add_filter('updraftplus_email_notify_scheduled', '__return_false');
// Status and progress notifications
add_filter('updraft_backup_notify_admin', '__return_false');
add_filter('updraft_backup_notify', '__return_false');
add_filter('updraftplus_backup_resumed_notice', '__return_false');
add_filter('updraftplus_backup_interrupted_notice', '__return_false');
// Additional miscellaneous filters
add_filter('updraft_include_manifest_in_email', '__return_false');
add_filter('updraft_email_subject', '__return_false');
add_filter('updraftplus_debug_email_report', '__return_false');
// New feature notifications
add_filter('updraftplus_email_backup_staging', '__return_false');     // Staging site backup emails
add_filter('updraftplus_email_verify_backup', '__return_false');      // Backup verification emails
add_filter('updraftplus_email_backup_prefix', '__return_false');      // Backup prefix notification emails
add_filter('updraftplus_email_files_size_warning', '__return_false'); // File size warning emails
add_filter('updraftplus_email_incremental_backup', '__return_false'); // Incremental backup notifications

Comments

Add a Comment