Two small suggestions
-
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 isSubscriberrather thansubscriber, for example. - Add the
$userdataand$usermetaarrays to theis_iu_post_user_importhook. 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? 🙂
Cheers!
- Add
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Two small suggestions’ is closed to new replies.