WordPress at Your Fingertips
function is not described

WC_Email_Customer_Invoice::__construct() public WC 1.0

Constructor.

{} It's a method of the class: WC_Email_Customer_Invoice{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Email_Customer_Invoice = new WC_Email_Customer_Invoice();
$WC_Email_Customer_Invoice->__construct();

Code of WC_Email_Customer_Invoice::__construct() WC 5.9.0

public function __construct() {
	$this->id             = 'customer_invoice';
	$this->customer_email = true;
	$this->title          = __( 'Customer invoice / Order details', 'woocommerce' );
	$this->description    = __( 'Customer invoice emails can be sent to customers containing their order information and payment links.', 'woocommerce' );
	$this->template_html  = 'emails/customer-invoice.php';
	$this->template_plain = 'emails/plain/customer-invoice.php';
	$this->placeholders   = array(
		'{order_date}'   => '',
		'{order_number}' => '',
	);

	// Call parent constructor.
	parent::__construct();

	$this->manual = true;
}