Skip to content

Instantly share code, notes, and snippets.

@florianziegler
Last active March 11, 2016 08:22
Show Gist options
  • Save florianziegler/6a78ea477dceae6937d1 to your computer and use it in GitHub Desktop.
Save florianziegler/6a78ea477dceae6937d1 to your computer and use it in GitHub Desktop.
<?php // Change the default client email message
function my_custom_mail_message( $mail_message, $user_name ) {
$mail_message = 'Nice!&#10;&#10;Now I have my own mail message.&#10;&#10;';
$mail_message .= 'I can even automatically end the message with the current username:&#10;' . $user_name;
return $mail_message;
}
add_filter( 'picu_client_mail_message', 'my_custom_mail_message', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment