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

View on Trac

Changelog

Version Description
2.0.3 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_user_last_name