Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
add_filter( 'affiliates_new_affiliate_user_registration_message', 'example_user_registration_message', 10, 2 );
function example_user_registration_message( $message, $params ) {
$message = 'Write here whatever you prefer your user should read in the welcome email.';
$message .= 'User info can be found in the params array, like user object, username, user_id';
return $message;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.