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?
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?
This topic has been closed to new replies.