WordPress at Your Fingertips
function is not described

WC_Email_Customer_Reset_Password::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Email_Customer_Reset_Password::__construct() WC 5.9.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();
}