WC_Email_Customer_New_Account::__construct()
Constructor.
Method of the class: WC_Email_Customer_New_Account{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Email_Customer_New_Account = new WC_Email_Customer_New_Account(); $WC_Email_Customer_New_Account->__construct();
WC_Email_Customer_New_Account::__construct() WC Email Customer New Account:: construct code WC 8.7.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(); }