Guest User

Untitled

a guest
May 25th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. add_filter( 'groups_import_export_new_user_registration_subject', 'example_groups_import_export_new_user_registration_subject', 10, 3 );
  2. function example_groups_import_export_new_user_registration_subject( $subject, $user_id, $plaintext_pass ) {
  3. $subject = 'Here you can add whatever you like to display as subject, in the notification mail a user receives for his new account';
  4.  
  5. return $subject;
  6. }
  7.  
  8. add_filter( 'groups_import_export_new_user_registration_message', 'example_groups_import_export_new_user_registration_message', 10, 3 );
  9. function example_groups_import_export_new_user_registration_message( $message, $user_id, $plaintext_pass ) {
  10. $message = 'Here you can add whatever you like to display as message, in the notification mail a user receives for his new account';
  11.  
  12. return $message;
  13. }
Add Comment
Please, Sign In to add comment