public setButton ( string $url, string $text, string $textColor = '', string $backgroundColor = '' ) : EmailTemplate | ||
$url | string | The href value of the button. |
$text | string | The button text. |
$textColor | string | The hex color code of the button text, must include the leading '#'. |
$backgroundColor | string | The hex color code of the button background, must include the leading '#'. |
return | EmailTemplate | $this The calling object. |