apply_filters( ‘pre_user_first_name’, string $first_name )

In this article

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

Parameters

$first_namestring
The user’s first name.

Source

$meta['first_name'] = apply_filters( 'pre_user_first_name', $first_name );

Changelog

VersionDescription
2.0.3Introduced.

User Contributed Notes

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