pre_user_nickname WordPress Filter Hook
The pre_user_nickname hook is a hook that is called before a user's nickname is sanitized. This hook can be used to modify the user's nickname before it is sanitized.
apply_filters( 'pre_user_nickname', string $nickname ) #
Filters a user’s nickname before the user is created or updated.
Parameters
- $nickname
(string)The user's nickname.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
2.0.3 | Introduced. |