WordPress.org

Ready to get started?Download WordPress

Forums

How to set user first/last name? (1 post)

  1. gesman
    Member
    Posted 4 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.