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()


Top ↑

Source Source

File: packages/woocommerce-blocks/src/Domain/Services/CreateAccount.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.