diff options
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Mail/IEMailTemplate.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php index 4e308509c42..41daacdb49f 100644 --- a/lib/public/Mail/IEMailTemplate.php +++ b/lib/public/Mail/IEMailTemplate.php @@ -99,10 +99,12 @@ interface IEMailTemplate { * * @param string $text Text of button * @param string $url URL of button + * @param string $plainText Text of button in plain text version + * if empty the $text is used, if false none will be used * * @since 12.0.0 */ - public function addBodyButton($text, $url); + public function addBodyButton($text, $url, $plainText = ''); /** * Adds a logo and a text to the footer. <br> in the text will be replaced by new lines in the plain text email |