Title: Remove Fields For User
Last modified: September 1, 2016

---

# Remove Fields For User

 *  Resolved [ajwah](https://wordpress.org/support/users/ajwah/)
 * (@ajwah)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/remove-fields-for-user/)
 * WordPress provides certain fields out of the box for user: [https://www.dropbox.com/s/wxeowbupxnxq2x7/Screenshot%202016-07-12%2016.05.25.png?dl=0](https://www.dropbox.com/s/wxeowbupxnxq2x7/Screenshot%202016-07-12%2016.05.25.png?dl=0)
 * I would like to do something similar for custom post types here where I can declare:
 * > ‘supports’ => [’email’, ‘username’, ‘firstname’, ‘lastname’]
 * and then only those four fields show up.
 * Any thoughts?
 * [https://wordpress.org/plugins/cmb2/](https://wordpress.org/plugins/cmb2/)

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 8 months ago](https://wordpress.org/support/topic/remove-fields-for-user/#post-7566920)
 * The thing with this idea, is that it sort of goes against how CMB2 fields are
   set up and done. Going based on the provided examples-file, you’re setting up
   each field as needed and one of the parameters is which post types to add it 
   to. Your thoughts above reverse that, where you’re providing what fields to add
   per post type, not what post types to add to per field.
 * Perhaps understanding your goal for a “supports” spot would help bring about 
   a good solution for things.
 *  Thread Starter [ajwah](https://wordpress.org/support/users/ajwah/)
 * (@ajwah)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/remove-fields-for-user/#post-7566960)
 * I think I understand where my mix up originates from. the field ‘supports’ is
   something from wordpress: [https://codex.wordpress.org/Function_Reference/register_post_type](https://codex.wordpress.org/Function_Reference/register_post_type)
 * Then you can specify it as labels:
 * >  array(
   >  ‘label’ => $plural, ‘labels’ => $labels, ‘public’ => true, ‘show_ui’
   > => true, ‘supports’ => [‘editor’, ‘title’], ‘show_in_nav_menus’ => true, ‘_builtin’
   > => false, ‘has_archive’ => true, ‘query_var’ => true, ‘rewrite’ => false, ),
 * I erroneously attributed this as a functionality of CMB2, but it is standard 
   wordpress functionality when doing the register post type.
 * This of course does not make sense for users.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 8 months ago](https://wordpress.org/support/topic/remove-fields-for-user/#post-7566962)
 * Ah, yeah. I can see that one being a little easy to mix up here.
 *  Thread Starter [ajwah](https://wordpress.org/support/users/ajwah/)
 * (@ajwah)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/remove-fields-for-user/#post-7567156)
 * Thanks

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

The topic ‘Remove Fields For User’ is closed to new replies.

 * ![](https://ps.w.org/cmb2/assets/icon.svg?rev=2866672)
 * [CMB2](https://wordpress.org/plugins/cmb2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cmb2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cmb2/)
 * [Active Topics](https://wordpress.org/support/plugin/cmb2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cmb2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cmb2/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ajwah](https://wordpress.org/support/users/ajwah/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/remove-fields-for-user/#post-7567156)
 * Status: resolved