WC_Email_Customer_Order_Withdrawal_Requested::__construct
Constructor.
Method of the class: WC_Email_Customer_Order_Withdrawal_Requested{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Email_Customer_Order_Withdrawal_Requested = new WC_Email_Customer_Order_Withdrawal_Requested(); $WC_Email_Customer_Order_Withdrawal_Requested->__construct();
WC_Email_Customer_Order_Withdrawal_Requested::__construct() WC Email Customer Order Withdrawal Requested:: construct code WC 11.2.1
public function __construct() {
$this->id = 'customer_order_withdrawal_requested';
$this->customer_email = true;
$this->title = __( 'Order withdrawal request received', 'woocommerce' );
$this->description = __( 'Sent to customers when their order withdrawal request is received.', 'woocommerce' );
$this->email_group = 'order-changes';
$this->template_html = 'emails/customer-order-withdrawal-requested.php';
$this->template_plain = 'emails/plain/customer-order-withdrawal-requested.php';
$this->placeholders = array(
'{order_number}' => '',
'{order_billing_name}' => '',
);
$this->formatter = new OrderWithdrawalEmailDataFormatter();
parent::__construct();
}