CreateAccount::customer_new_account( int $customer_id, array $new_customer_data = array() )
Trigger new account email.
Description Description
This is intended as a replacement to WC_Emails::customer_new_account(), with a set password link instead of emailing the new password in email content.
Parameters Parameters
- $customer_id
-
(Required) The ID of the new customer account.
- $new_customer_data
-
(Optional) Assoc array of data for the new account.
Default value: array()
Source Source
File: packages/woocommerce-blocks/src/Domain/Services/CreateAccount.php