Automattic\WooCommerce\Blocks\Domain\Services

CreateAccount::customer_new_accountpublicWC 1.0

Trigger new account email.

Method of the class: CreateAccount{}

No Hooks.

Returns

null. Nothing (null).

Usage

$CreateAccount = new CreateAccount();
$CreateAccount->customer_new_account( $customer_id, $new_customer_data );
$customer_id(int)
The ID of the new customer account.
$new_customer_data(array)
Assoc array of data for the new account.
Default: array()

CreateAccount::customer_new_account() code WC 10.6.2

public function customer_new_account( $customer_id = 0, array $new_customer_data = array() ) {
	// This method is intentionally left blank.
}