Left in testing code

This commit is contained in:
Mike Jolley 2011-10-31 13:19:50 +00:00
parent 18cf9b0d5e
commit 77730f6f7b
1 changed files with 0 additions and 7 deletions

View File

@ -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
**/