WC_Email_Customer_Note::__construct()
Constructor.
Description Description
Source Source
File: includes/emails/class-wc-email-customer-note.php
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | public function __construct() { $this ->id = 'customer_note' ; $this ->customer_email = true; $this ->title = __( 'Customer note' , 'woocommerce' ); $this ->description = __( 'Customer note emails are sent when you add a note to an order.' , 'woocommerce' ); $this ->template_html = 'emails/customer-note.php' ; $this ->template_plain = 'emails/plain/customer-note.php' ; $this ->placeholders = array ( '{order_date}' => '' , '{order_number}' => '' , ); // Triggers. add_action( 'woocommerce_new_customer_note_notification' , array ( $this , 'trigger' ) ); // Call parent constructor. parent::__construct(); } |