I used the following code in functions.php:
function myextension_shop_manager_role_edit_capabilities( $roles ) {
$roles[] = ‘stylisten’;
return $roles;
}
add_filter( ‘woocommerce_shop_manager_editable_roles’, ‘myextension_shop_manager_role_edit_capabilities’ );
Unfortunately, this isn’t working. If I log in as the Shop Manager, edit a person, I only can see: Role: “Customer”.
Role: stylisten is 100% active with the plugin.
Is there any news? A client has the same issue.
Hi Caleb,
I want it running on the tab “Shipping Zones”. Do you know how?
I understand that you can’t help me with it, but I can’t find any good tutorial or similar solutions. I hope somebody has the exact same idea to develop.
Im going to read the topic.