Support » Plugin: Import Users from CSV » Two small suggestions

  • Resolved squarestar


    Thanks for the plugin. I have 2 suggestions based on changes I made for a particular import job:

    • Add $userdata['role'] = strtolower($userdata['role']) before inserting the user, because it will fail to add the role if the value is Subscriber rather than subscriber, for example.
    • Add the $userdata and $usermeta arrays to the is_iu_post_user_import hook. I know they can be retrieved via the $user_id, but I’m sure loads of people need that data when hooking into that action so why not make it available immediately? 🙂


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Two small suggestions’ is closed to new replies.