Title: [Plugin: Author Category] Default setting for new users?
Last modified: August 20, 2016

---

# [Plugin: Author Category] Default setting for new users?

 *  Resolved [craftcore](https://wordpress.org/support/users/craftcore/)
 * (@craftcore)
 * [14 years ago](https://wordpress.org/support/topic/plugin-author-category-default-setting-for-new-users/)
 * Hi! First: I _love_ the plugin! It works perfectly and is oh-so-easy to set up.
 * In a future update, would it be possible to have it so that new users can be 
   automatically restricted to a certain category? Right now, I’m just manually 
   setting it with your plugin, but making it an automatic feature would be AWESOME!
   Or even if there was a way to do a bulk action to do many users at once.
 * Thanks for making the plugin. It’s great!
 * [http://wordpress.org/extend/plugins/author-category/](http://wordpress.org/extend/plugins/author-category/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Bainternet](https://wordpress.org/support/users/bainternet/)
 * (@bainternet)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-author-category-default-setting-for-new-users/#post-2728592)
 * I’d like to keep it simple as possible so i wont add any kind of admin option
   panel to it, but you can use the built in hooks to set the category for each 
   new user ex:
 *     ```
       add_action('user_register','set_default_cat_for_user');
       function set_default_cat_for_user($user_id){
               $default_category_id = 2; //change 2 with your default category id
               update_user_meta( $user_id, '_author_cat',$default_category_id);
       }
       ```
   
 *  [InventiveWebDesign](https://wordpress.org/support/users/inventivewebdesign/)
 * (@inventivewebdesign)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-author-category-default-setting-for-new-users/#post-2728634)
 * Can I use this plugin to set it for all existing users with the role of Author?
 *  [InventiveWebDesign](https://wordpress.org/support/users/inventivewebdesign/)
 * (@inventivewebdesign)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-author-category-default-setting-for-new-users/#post-2728635)
 * I have a few hundred users and don’t want to switch it for each of them.
 *  [ExNube](https://wordpress.org/support/users/exnube/)
 * (@exnube)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-author-category-default-setting-for-new-users/#post-2728650)
 * Awesome plugin bro! and thx for the tip!
    >>> Set the default category for new
   users with the Author Category plugin:
 * add_action(‘user_register’,’set_default_cat_for_user’);
    function set_default_cat_for_user(
   $user_id){ $default_category_id = 2; //change 2 with your default category id
   update_user_meta( $user_id, ‘_author_cat’,$default_category_id); }

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Author Category] Default setting for new users?’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/author-category_ffffff.svg)
 * [Author Category](https://wordpress.org/plugins/author-category/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/author-category/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/author-category/)
 * [Active Topics](https://wordpress.org/support/plugin/author-category/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/author-category/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/author-category/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [ExNube](https://wordpress.org/support/users/exnube/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-author-category-default-setting-for-new-users/#post-2728650)
 * Status: resolved