Customize the WC transactional email template based on WC settings [MAILPOET-2339]

This commit is contained in:
wxa
2019-11-04 18:47:27 +03:00
committed by Jack Kitterhing
parent ce36b3fdfc
commit 68eb3ade6e
4 changed files with 33 additions and 12 deletions

View File

@ -75,6 +75,7 @@ class NewsletterEditor {
'woocommerce' => [
'email_base_color' => $this->wp->getOption('woocommerce_email_base_color', '#000000'),
'email_heading' => $this->wc_transactional_emails->getEmailHeading(),
'email_text_color' => $this->wp->getOption('woocommerce_email_text_color', '#000000'),
],
];
$this->wp->wpEnqueueMedia();