WC_Email_Customer_Reset_Password::__construct()
Constructor.
Method of the class: WC_Email_Customer_Reset_Password{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Email_Customer_Reset_Password = new WC_Email_Customer_Reset_Password(); $WC_Email_Customer_Reset_Password->__construct();
WC_Email_Customer_Reset_Password::__construct() WC Email Customer Reset Password:: construct code WC 8.7.0
public function __construct() { $this->id = 'customer_reset_password'; $this->customer_email = true; $this->title = __( 'Reset password', 'woocommerce' ); $this->description = __( 'Customer "reset password" emails are sent when customers reset their passwords.', 'woocommerce' ); $this->template_html = 'emails/customer-reset-password.php'; $this->template_plain = 'emails/plain/customer-reset-password.php'; // Trigger. add_action( 'woocommerce_reset_password_notification', array( $this, 'trigger' ), 10, 2 ); // Call parent constructor. parent::__construct(); }