mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 22:23:37 +09:00
Version 1.0.29
This commit is contained in:
@@ -3,7 +3,21 @@
|
||||
class UM_Mail {
|
||||
|
||||
function __construct() {
|
||||
|
||||
add_filter('mandrill_nl2br', array(&$this, 'mandrill_nl2br') );
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
*** @mandrill compatibility
|
||||
***/
|
||||
function mandrill_nl2br($nl2br, $message) {
|
||||
|
||||
// text emails
|
||||
$nl2br = true;
|
||||
|
||||
return $nl2br;
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
|
||||
Reference in New Issue
Block a user