Include as needed

This commit is contained in:
Mike Jolley 2018-06-15 12:43:10 +01:00
parent 0d79ced8e4
commit c3144012a5
1 changed files with 0 additions and 5 deletions

View File

@ -223,11 +223,6 @@ class WC_Emails {
$this->emails['WC_Email_Customer_New_Account'] = include 'emails/class-wc-email-customer-new-account.php'; $this->emails['WC_Email_Customer_New_Account'] = include 'emails/class-wc-email-customer-new-account.php';
$this->emails = apply_filters( 'woocommerce_email_classes', $this->emails ); $this->emails = apply_filters( 'woocommerce_email_classes', $this->emails );
// include css inliner.
if ( ! class_exists( 'Emogrifier' ) && class_exists( 'DOMDocument' ) ) {
include_once dirname( __FILE__ ) . '/libraries/class-emogrifier.php';
}
} }
/** /**