apply_filters( 'lifterlms_generate_username', string $custom_username , string $email )
Allow custom username generation
Parameters Parameters
- $custom_username
-
(string) The custom-generated username. If the filter returns a truthy string it will be used in favor of the automatically generated username.
-
(string) User's email address.
Source Source
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |