Need a unique gift idea?
A Pastebin account makes a great Christmas gift

WordPress - Change password change email

lorro Feb 3rd, 2017 182 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. <?php
  2. // WordPress - Change the password change email
  3. // code goes in functions.php for your child theme
  4. add_filter ('password_change_email', 'custom_password_change_email');
  5. function custom_password_change_email( $pass_change_email ) {
  6.   $pass_change_text = $pass_change_email['message'];
  7.   $pass_change_text = str_replace( 'Hi ###USERNAME###', 'Dear Customer', $pass_change_text );
  8.   $pass_change_email['message'] = $pass_change_text;
  9.   return $pass_change_email;
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand