Skip to content

Instantly share code, notes, and snippets.



Last active Dec 28, 2015
What would you like to do?
Mutes update email on beta site
* @package otto-mute
* @version 0.1
Plugin Name: Otto Mute
Description: Mute's daily email from beta site updates
Author: Robert Dall & Otto Wood
Version: 0.1
Author URI:
// Mutes Email on beta site
function update_no_email_on_success($send, $type, $core_update, $result) {
if ( $type == 'success' ) {
$send = false;
return $send;
add_filter('auto_core_update_send_email', 'update_no_email_on_success', 10, 4);
// Mutes daily debug email
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment