Hi, does anyone know if there is support for custom roles? For example I am running multiple WooCommerce sites and I need to create a new “Shop Manager” on each site. When I want to do that from my MainWP I see only default WordPress roles supported.
Hey @terrence_covin, yeah, by default MainWP includes only default WP user roles, but the plugin provides the mainwp-users-manage-roles filter that you can use to add support for any custom role. For example, to add “Shop Manager”, you can simply add this snippet to your dashboard:
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.