apply_filters( ‘pre_user_last_name’, string $last_name )

In this article

Filters a user’s last name before the user is created or updated.

Parameters

$last_namestring
The user’s last name.

Source

$meta['last_name'] = apply_filters( 'pre_user_last_name', $last_name );

Changelog

VersionDescription
2.0.3Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.