Forked from annalinneajohansson/auto_core_update_email.php
Last active
January 12, 2017 09:53
-
-
Save alrnz/f3240531e49ea7e307654e402b96a0ff to your computer and use it in GitHub Desktop.
Change the recipient email for auto_core_update_email
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// change email of auto update notification | |
function filter_change_auto_update_email( $email ) { | |
$email['to'] = '[email protected]'; | |
return $email; | |
} | |
add_filter( 'auto_core_update_email', 'filter_change_auto_update_email', 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment