Automattic\WooCommerce\Blocks\Domain\Services
CreateAccount::customer_new_account
Trigger new account email.
Метод класса: CreateAccount{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$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(массив)
- Assoc array of data for the new account.
По умолчанию:array()
Код CreateAccount::customer_new_account() CreateAccount::customer new account WC 10.5.0
public function customer_new_account( $customer_id = 0, array $new_customer_data = array() ) {
// This method is intentionally left blank.
}