Support » Plugin: Import users from CSV with meta » Date of Registration

  • Resolved webowner

    (@webowner)


    Hi There,

    LOVE your plugin…

    I see in Version 1.1.6 – it says this: You can import now user_registered but always in the correct format Y-m-d H:i:s

    I have the date correct in my .csv file; but once the import is done, and I go back to users to check – it shows today’s date (which is the date of the import) – not the registered date (from many years ago).

    Any ideas? Thanks so much.

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

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

    (@carazo)

    It should work, in the code the operation is correct:

    if( in_array( $headers[$i], $wp_users_fields ) ){ // wp_user data
    
    										if( empty( $data[ $i ] ) && $empty_cell_action == "leave" )
    											continue;
    										else
    											wp_update_user( array( 'ID' => $user_id, $headers[$i] => $data[$i] ) );
    
    									}

    Try to see if the problem is the label, maybe you have any blank space or something similar in user_registered.

    If not, send me the CSV (carazo AT gmail DOT com) and I try.

    Plugin Author Javier Carazo

    (@carazo)

    I am going to close this thread, if need anymore tell me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Date of Registration’ is closed to new replies.