How to set user first/last name?
-
I need to do something like that:
$user = new WP_User(‘joe’);
if ($user)
{
// set_first_name() does not exist yet ??
$user->set_first_name (‘Joe’);
$user->set_last_name (‘Blow’);
}Any documented way on how to do that?
- The topic ‘How to set user first/last name?’ is closed to new replies.