Title: Plugin unable to modify role capabilities
Last modified: September 27, 2016

---

# Plugin unable to modify role capabilities

 *  Resolved [Dinamicore](https://wordpress.org/support/users/dinamicore/)
 * (@dinamicore)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-unable-to-modify-role-capabilities/)
 * Hello I posted this in your [support forum](http://wc-marketplace.com/support-forum/topic/different-vendor-profiles/).
   No answer to date
 * Your plugin does not accept modifications of role capabilities, a serious limitation
   to allow it´s use for more complex projects like the one I am setting up.
 * Please fix this or provide an alternative.
 * Thanks.
    -  This topic was modified 9 years, 7 months ago by [Dinamicore](https://wordpress.org/support/users/dinamicore/).
    -  This topic was modified 9 years, 7 months ago by [Dinamicore](https://wordpress.org/support/users/dinamicore/).

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

 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-unable-to-modify-role-capabilities/#post-8224877)
 * Hi Pablo,
 * Apology for missing the thread you have created in our support forum.
 * WC-Marketplace supports various capabilities but there is no capability for the
   role modification(s). We have the plan to come up with the similar capability
   in the form of add-on.
 * Regards,
    Rimpa
 *  Thread Starter [Dinamicore](https://wordpress.org/support/users/dinamicore/)
 * (@dinamicore)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-unable-to-modify-role-capabilities/#post-8226607)
 * Hello Rimpa:
 * We are already well ahead on time. We need to finish the Web.
 * If you will be so kind to tell us where to hide the menu items.
 * In the FRONTEND DASBOARD of your [plugin](http://www.trustbarn.com/web/images/front-dashbord.png).
 * In the BACKEND of [WordPress](http://www.trustbarn.com/web/images/back-dashboard.png).
 * Thanks
 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-unable-to-modify-role-capabilities/#post-8233518)
 * Hi Pablo,
 * Please override the theme template to hide the those tabs.
 * Regards,
    Rimpa
 *  Thread Starter [Dinamicore](https://wordpress.org/support/users/dinamicore/)
 * (@dinamicore)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-unable-to-modify-role-capabilities/#post-8233920)
 * Hello Rimpa:
 * I am trying with:
 * `li.hasmenu {display:none !important}`
 * However, the menu items (FRONT DASHBOARD) don´t have individual selectors, so
   I have no control selecting the items to hide.
 * Please elaborate, providing the procedure to override.
 * Thanks.
    -  This reply was modified 9 years, 7 months ago by [Dinamicore](https://wordpress.org/support/users/dinamicore/).
 *  Thread Starter [Dinamicore](https://wordpress.org/support/users/dinamicore/)
 * (@dinamicore)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-unable-to-modify-role-capabilities/#post-8237968)
 * What I need to override is your plugin FRONT and BACK dashoard. Please indicate
   the identificators of the menu selectors that need to be hidden.
 * Thanks.
 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-unable-to-modify-role-capabilities/#post-8238472)
 * Thanks for holding patience, Pablo. For frontend, please create a page named 
   vendor_dashboard_menu.php (yourtheme/dc-product-vendor/vendor_dashboard_menu.
   php). Copy all the content from plugin’s file (vendor_dashboard_menu.php), then
   comment out the menus which you do not require.
 * For backend:
 * 1. To remove for shipping and order: add_action( ‘admin_menu’, array( $this, ‘
   vendor_dashboard_pages’) );
 * 2. For sales report write the code to remove the capabilities view_woocomerce_report
   from dc_vendor role. do_action(‘wcmp_set_user_role’, $user_id, $new_role, $old_role);
 * Regards,
    Rimpa
 *  Thread Starter [Dinamicore](https://wordpress.org/support/users/dinamicore/)
 * (@dinamicore)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-unable-to-modify-role-capabilities/#post-8244761)
 * Done.
 * Thanks!
 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-unable-to-modify-role-capabilities/#post-8247862)
 * Glad to know 🙂
 * Regards,
    Rimpa

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

The topic ‘Plugin unable to modify role capabilities’ is closed to new replies.

 * ![](https://ps.w.org/dc-woocommerce-multi-vendor/assets/icon-256x256.gif?rev=
   3314608)
 * [MultiVendorX - WooCommerce Multivendor Marketplace AI Powered Solutions](https://wordpress.org/plugins/dc-woocommerce-multi-vendor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dc-woocommerce-multi-vendor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/)
 * [Active Topics](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/)

## Tags

 * [capabilities](https://wordpress.org/support/topic-tag/capabilities/)
 * [role](https://wordpress.org/support/topic-tag/role/)

 * 8 replies
 * 2 participants
 * Last reply from: [DualCube](https://wordpress.org/support/users/dualcube/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-unable-to-modify-role-capabilities/#post-8247862)
 * Status: resolved