Last active
February 16, 2017 21:51
-
-
Save flymke/5c02082ee7cd1d7473db384a4bb40d2d 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 | |
/** | |
* Class for sending tracking emails | |
* For reference on WC_Emails class see https://docs.woocommerce.com/wc-apidocs/class-WC_Emails.html | |
* @author: Michael Schönrock (ms@halloecho.de) | |
*/ | |
class Tracking_Email extends WC_Emails { | |
public function generate_message($tracking_number, $customer_name) { | |
$return = 'Dear '.$customer_name.', your tracking number is ' .$tracking_number; | |
return $return; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment