Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // WordPress - Change the password change email
- // code goes in functions.php for your child theme
- add_filter ('password_change_email', 'custom_password_change_email');
- function custom_password_change_email( $pass_change_email ) {
- $pass_change_text = $pass_change_email['message'];
- $pass_change_text = str_replace( 'Hi ###USERNAME###', 'Dear Customer', $pass_change_text );
- $pass_change_email['message'] = $pass_change_text;
- return $pass_change_email;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement