From 77730f6f7b79d1600cd7a287faa2bf3ea1dd9e42 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 31 Oct 2011 13:19:50 +0000 Subject: [PATCH] Left in testing code --- woocommerce.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/woocommerce.php b/woocommerce.php index 24c758f4093..456f8ff9e56 100644 --- a/woocommerce.php +++ b/woocommerce.php @@ -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 **/