Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_child_theme_edd_auto_register_email_body( $default_email_body, $first_name, $username, $password ) {
- // Modify accordingly
- $default_email_body = __( "Hi", "edd-auto-register" ) . ' ' . $first_name . ",\n\n";
- $default_email_body .= __( "Below are your login details to access the VegasHero My Account section:", "edd-auto-register" ) . "\n\n";
- $default_email_body .= __( "Your Username:", "edd-auto-register" ) . ' ' . $username . "\n\n";
- $default_email_body .= __( "Your Password:", "edd-auto-register" ) . ' ' . $password . "\n\n";
- $default_email_body .= __( "Login:", "edd-auto-register" ) . ' ' . wp_login_url() . "\r\n";
- return $default_email_body;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement