Last active
October 13, 2018 08:26
-
-
Save m4munib/053feb378ecd615c434496f3487ca7f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'woocommerce_email_classes', 'mk_woocomerce_my_custom_email' ); | |
function mk_woocomerce_my_custom_email( $email_classes ) { | |
// add the email class to the list of email classes that WooCommerce loads | |
$email_classes['Mk_Custom_Mail_Class'] = new Mk_Custom_Mail_Class(); | |
return $email_classes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment