WordPress at a glance
filter is not described

woocommerce_new_customer_username filter-hook . WC 3.7.0

Filter new customer username.

Usage

add_filter( 'woocommerce_new_customer_username', 'filter_function_name_6066', 10, 4 );
function filter_function_name_6066( $username, $email, $new_user_args, $suffix ){
	// filter...

	return $username;
}
$username(string)
Customer username.
$email(string)
New customer email address.
$new_user_args(array)
Array of new user args, maybe including first and last names.
$suffix(string)
Append string to username to make it unique.

Changelog

Since 3.7.0 Introduced.

Where the hook is called

wc_create_new_customer_username()
woocommerce_new_customer_username
woocommerce/includes/wc-user-functions.php 211
return apply_filters( 'woocommerce_new_customer_username', $username, $email, $new_user_args, $suffix );

Where in WP core the hook is used WooCommerce

Usage not found.