WordPress.org

Ready to get started?Download WordPress

Forums

Import Users from CSV
[resolved] user fist_name and last_name (3 posts)

  1. ivomasterche
    Member
    Posted 1 year ago #

    Hi,

    Nice plugin.

    But i have found a problem - the data for users first and last name are not added.

    I check the code of the plugin and it appeared that columns with titles first_name and last_name are added as userdata and they should actually be added as usermeta.
    Am i right?

    http://wordpress.org/extend/plugins/import-users-from-csv/

  2. Ulrich Sossou
    Member
    Plugin Author

    Posted 1 year ago #

    No, it's that way because when creating a user, first_name and last_name can be used as argument of wp_insert_user (contrary to the other meta fields). There are still saved in the usermeta table in the database.

  3. ivomasterche
    Member
    Posted 1 year ago #

    Yes you are totally right...
    In this case i guess my problem with that fields was somewhere else in my code.

    Thank you for your time.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic