Last active
March 19, 2019 04:00
-
-
Save luiseduardobraschi/6c77d81709b7f640e670489f4dcced33 to your computer and use it in GitHub Desktop.
Change new user notification e-mail body.
This file contains 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 | |
add_filter( 'wp_new_user_notification_email', 'gist_change_new_user_message', 10, 3 ); | |
function gist_change_new_user_message( $wp_new_user_notification_email, $user, $blogname ){ | |
$wp_new_user_notification_email['message'] = "This is the new mail body.\r\n\r\n""; | |
return $wp_new_user_notification_email; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment