woocommerce_create_new_customer()WC 1.0

Deprecated since 3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

No Hooks.

Returns

Int|WP_Error.

Usage

woocommerce_create_new_customer( $email, $username, $password );
$email(required)
.
$username
.
Default: ''
$password
.
Default: ''

Changelog

Deprecated since 3.0

woocommerce_create_new_customer() code WC 10.7.0

function woocommerce_create_new_customer( $email, $username = '', $password = '' ) {
	wc_deprecated_function( __FUNCTION__, '3.0', 'wc_create_new_customer' );
	return wc_create_new_customer( $email, $username, $password );
}