Left in testing code
This commit is contained in:
parent
18cf9b0d5e
commit
77730f6f7b
|
@ -199,13 +199,6 @@ function woocommerce_init_roles() {
|
|||
endif;
|
||||
}
|
||||
|
||||
add_filter('woocommerce_shop_manager_capabilities', 'custom_shop_manager_capabilities');
|
||||
|
||||
function custom_shop_manager_capabilities( $caps ) {
|
||||
$caps['manage_woocommerce'] = false;
|
||||
return $caps;
|
||||
}
|
||||
|
||||
/**
|
||||
* Enqueue frontend scripts
|
||||
**/
|
||||
|
|
Loading…
Reference in New Issue