Automattic\WooCommerce\Blocks\Domain\Services\Email

CustomerNewAccount{}WC 1.0

Deprecated since This class can't be removed due to https://github.com/woocommerce/woocommerce/issues/52311.. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Customer New Account. Previously used for blocks, but now replaced by the core email.

No Hooks.

Usage

$CustomerNewAccount = new CustomerNewAccount();
// use class methods

Methods

  1. public __construct( Package $package )

Changelog

Deprecated This class can't be removed due to https://github.com/woocommerce/woocommerce/issues/52311.

CustomerNewAccount{} code WC 10.7.0

class CustomerNewAccount extends \WC_Email {
	/**
	 * Constructor.
	 *
	 * @param Package $package An instance of (Woo Blocks) Package.
	 */
	public function __construct( Package $package ) {
		parent::__construct();
	}
}