Title: [Plugin: Import Users from CSV] subscribe2 category
Last modified: August 20, 2016

---

# [Plugin: Import Users from CSV] subscribe2 category

 *  Resolved [jbyungrokim](https://wordpress.org/support/users/jbyungrokim/)
 * (@jbyungrokim)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-import-users-from-csv-subscribe2-category/)
 * I am using subscribe2 in order to make users subscribe to certain category of
   posting.
 * Now I need to import a bunch of Administrator role users, and I need to import…
 * first name
    last name email user name password.. and category ——– this is the
   category this adminstrator will subscribe to.. this will be the same as user 
   name.
 * how can I import above, specialy category part using your plugin??
 * if it cannot be done now, can you tell me how I should modify the code to realize
   above??
 * thank you so much.
 * [http://wordpress.org/extend/plugins/import-users-from-csv/](http://wordpress.org/extend/plugins/import-users-from-csv/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Ulrich Sossou](https://wordpress.org/support/users/sorich87/)
 * (@sorich87)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-import-users-from-csv-subscribe2-category/#post-2289880)
 * There are actions and filters in the plugin code. They allow you to change the
   plugin behavior without modifying its code.
 * You can use the action ‘is_iu_post_user_import’ which runs after the user has
   been added to the site to assign him to a category. You would do something like:
 * function my_assign_user_to_a_category( $user_id ) {
    $user = get_userdata( $user_id);//
   do what you want with the $user object } add_action( ‘is_iu_post_user_import’,‘
   my_assign_user_to_a_category’ );
 * I can’t provide more details about how to add the user to a category as I am 
   not familiar to the plugin Subscribe2 and don’t have time to dig into its code
   right now. The plugin author should be able to help you with the remaining.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Import Users from CSV] subscribe2 category’ is closed to new
replies.

 * ![](https://ps.w.org/import-users-from-csv/assets/icon-256x256.png?rev=2320381)
 * [Import Users from CSV](https://wordpress.org/plugins/import-users-from-csv/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/import-users-from-csv/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/import-users-from-csv/)
 * [Active Topics](https://wordpress.org/support/plugin/import-users-from-csv/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/import-users-from-csv/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/import-users-from-csv/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ulrich Sossou](https://wordpress.org/support/users/sorich87/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-import-users-from-csv-subscribe2-category/#post-2289880)
 * Status: resolved