pre_user_last_name WordPress Filter Hook
The pre_user_last_name hook is fired before the user's last name is updated in the database. It is useful for modifying the user's last name before it is stored in the database.
apply_filters( 'pre_user_last_name', string $last_name ) #
Filters a user’s last name before the user is created or updated.
Parameters
- $last_name
(string)The user's last name.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
2.0.3 | Introduced. |