On this page
apply_filters( 'pre_user_nickname', string $nickname )
Filters a user’s nickname before the user is created or updated.
Parameters
$nicknamestring-
The user's nickname.
Source
File: wp-includes/user.php. View all references
$meta['nickname'] = apply_filters( 'pre_user_nickname', $nickname );
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_nickname