Skip to content
Snippets Groups Projects

Devel

Merged Piotr Potrebka requested to merge devel into main
Compare and Show latest version
2 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline

Files

+ 3
3
@@ -136,7 +136,7 @@ abstract class EmailAbstract implements EmailInterface {
throw new Exception( 'Empty email subject' );
}
return $this->subject;
return $this->replace_placeholders( $this->subject );
}
/**
@@ -158,7 +158,7 @@ abstract class EmailAbstract implements EmailInterface {
* @return string
*/
public function get_heading(): string {
return $this->heading;
return $this->replace_placeholders( $this->heading );
}
/**
@@ -285,7 +285,7 @@ abstract class EmailAbstract implements EmailInterface {
* @throws Exception
*/
public function get_content(): string {
return $this->content;
return $this->replace_placeholders( $this->content );
}
/**
Loading