WordPress at Your Fingertips
function is not described

WC_Email_Customer_New_Account::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Email_Customer_New_Account::__construct() WC 5.9.0

public function __construct() {
	$this->id             = 'customer_new_account';
	$this->customer_email = true;
	$this->title          = __( 'New account', 'woocommerce' );
	$this->description    = __( 'Customer "new account" emails are sent to the customer when a customer signs up via checkout or account pages.', 'woocommerce' );
	$this->template_html  = 'emails/customer-new-account.php';
	$this->template_plain = 'emails/plain/customer-new-account.php';

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