Thank you so much for reaching out and for pointing this out! You’re absolutely right that this should be easier to control.
How to Disable It Now
Currently, you can disable the weekly summary emails using one of these methods:
Option 1: WP-CLI (Recommended)
wp site option update zerospam_network_notifications_enabled false --networkOption
Option 2: Add to wp-config.php
Add this code to your wp-config.php file:
// Disable Zero Spam weekly summary emails
add_action('plugins_loaded', function() {
if (is_multisite()) {
update_site_option('zerospam_network_notifications_enabled', false);
}
}, 1);
Option 3: Unschedule the Cron Event
Add this to your theme’s functions.php or a custom plugin:
// Unschedule Zero Spam weekly summary
add_action(‘init’, function() {
$timestamp = wp_next_scheduled(‘zerospam_network_weekly_summary’);
if ($timestamp) {
wp_unschedule_event($timestamp, ‘zerospam_network_weekly_summary’);
}
});
Great News! 🎉
Thanks to your feedback, version 5.7.2 (coming soon) will include a brand new Notifications tab in the Network Settings page where you can easily toggle weekly summary emails on or off with a simple checkbox—no code required!
To access it in v5.7.2:
- Navigate to Network Admin → Settings → Zero Spam Network
- Click the Notifications tab
- Toggle “Enable weekly summary emails” on or off
- Click Save Settings
If you’re finding Zero Spam helpful for protecting your network, we’d really appreciate it if you could take a moment to leave us a review! Your feedback helps us continue improving the plugin and helps other users discover it.
Thanks again for bringing this to our attention, your input directly led to this improvement!
Thread Starter
Surbma
(@surbma)
Wow! Thank you for the new option on the UI!
Thanks for the idea! We’d really appreciate it if you could take a moment to leave us a review! Your feedback helps us continue improving the plugin and helps other users discover it.