apply_filters( 'woocommerce_new_customer_username', string $username , string $email , array $new_user_args , string $suffix )
Filter new customer username.
Description Description
Parameters Parameters
- $username
-
Customer username.
-
New customer email address.
- $new_user_args
-
Array of new user args, maybe including first and last names.
- $suffix
-
Append string to username to make it unique.
Source Source
File: includes/wc-user-functions.php
Changelog Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |