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