• Resolved idealien

    (@idealien)


    A feature suggestion to offer functional parity to be able to update user emails via import in the same way that it updates meta data fields.

    In v1.4.1 something similar to the following added to the block after detecting user by login:

    $updateEmailArgs = array(
    	'ID'         => $user_id,
    	'user_email' => $email
    );
    wp_update_user( $updateEmailArgs );

    My use case for this covers moving between production and development environments. In production case, I upload the .csv (extract from a 3rd party system) as is. In dev case, I modify email to test accounts but keep all usernames identical.

    https://wordpress.org/plugins/import-users-from-csv-with-meta/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Javier Carazo

    (@carazo)

    Idealien,

    Thanks for the idea, I use email as an identifier, but maybe we can try to introduce it to make it possible to update.

    In next version I will include it but using the wp_users_fields variable.

    Thread Starter idealien

    (@idealien)

    Can you provide an example spreadsheet of how one would take advantage of that?

    Adding an extra ’email’ field did not resolve with 1.5.1 so far.

    Plugin Author Javier Carazo

    (@carazo)

    idealien,

    I have just done the new version with this new functionality 🙂

    Sorry for the delay but holidays and deadlines in some projects made it impossible.

    If you like our support, please review this plugin or donate us to info AT codection DOT com in PayPal.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ability to update email for existing user’ is closed to new replies.