Created
May 20, 2018 17:56
-
-
Save geotsiokos/c37f598d45bf3e8c5e27ad66394cfd16 to your computer and use it in GitHub Desktop.
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
add_filter( 'groups_import_export_new_user_registration_subject', 'example_groups_import_export_new_user_registration_subject', 10, 3 ); | |
function example_groups_import_export_new_user_registration_subject( $subject, $user_id, $plaintext_pass ) { | |
$subject = 'Here you can add whatever you like to display as subject, in the notification mail a user receives for his new account'; | |
return $subject; | |
} | |
add_filter( 'groups_import_export_new_user_registration_message', 'example_groups_import_export_new_user_registration_message', 10, 3 ); | |
function example_groups_import_export_new_user_registration_message( $message, $user_id, $plaintext_pass ) { | |
$message = 'Here you can add whatever you like to display as message, in the notification mail a user receives for his new account'; | |
return $message; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment