Last active
October 21, 2016 06:41
-
-
Save dattard21/8fe47bb976d316416f9f972b67fc8de7 to your computer and use it in GitHub Desktop.
This file contains 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
function send_bonus_email( $form_id, $user_data, $user_id ) | |
{ | |
global $service_locator; | |
$firstName = $user_data['first_name']; | |
$lastName = $user_data['last_name']; | |
$email_content = " | |
Hey there $firstName, Welcome to WPMUDEV. "\r\n" | |
Welcome to the club! As a bit of a thank you for taking the time to sign up, here a couple of bonuses | |
…" | |
} | |
add_action(‘after_signup_user’, ‘send_bonus_email’); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment