On this page
apply_filters( 'pre_user_login', string $sanitized_user_login )
Filters a username after it has been sanitized.
Description
This filter is called before the user is created or updated.
Parameters
$sanitized_user_loginstring-
Username after it has been sanitized.
Source
File: wp-includes/user.php. View all references
$pre_user_login = apply_filters( 'pre_user_login', $sanitized_user_login );
Related
Used By
| Used By | Description |
|---|---|
| wp_insert_user() wp-includes/user.php | Inserts a user into the database. |
Changelog
| Version | Description |
|---|---|
| 2.0.3 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_user_login