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