Created
December 28, 2016 18:28
-
-
Save SeanChDavis/cc3b367547ee1cf0e2174c816e1dd43d to your computer and use it in GitHub Desktop.
EDD Auto Register Add Password Notice To Email
This file contains hidden or 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 // DO NOT COPY THIS LINE | |
| function custom_edd_auto_register_email_body( $email ) { | |
| $new_email = $email . "\n(Your password is temporary. Please change immediately.)"; | |
| return $new_email; | |
| } | |
| add_filter( 'edd_auto_register_email_body', 'custom_edd_auto_register_email_body' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment