WC_Email_Customer_New_Account::__construct()
Constructor.
Метод класса: WC_Email_Customer_New_Account{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$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 WC 9.7.1
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(); }