-
Home
-
Bitcoin / AltCoin Payment Gateway for WooCommerce & Multivendor store / shop
- Tips
function plt_hide_woo_altcoin_payment_gateway_menus() {
//Hide "AltCoin Payment".
remove_menu_page('woo-altcoin-payment-gateway/woocommerce-altcoin-payment.php');
//Hide "AltCoin Payment → Default Settings".
remove_submenu_page('woo-altcoin-payment-gateway/woocommerce-altcoin-payment.php', 'cs-woo-altcoin-gateway-settings');
//Hide "AltCoin Payment → All Coins".
remove_submenu_page('woo-altcoin-payment-gateway/woocommerce-altcoin-payment.php', 'cs-woo-altcoin-all-coins');
//Hide "AltCoin Payment → Add New Coin".
remove_submenu_page('woo-altcoin-payment-gateway/woocommerce-altcoin-payment.php', 'cs-woo-altcoin-add-new-coin');
//Hide "AltCoin Payment → Product Page Options".
remove_submenu_page('woo-altcoin-payment-gateway/woocommerce-altcoin-payment.php', 'cs-woo-altcoin-product-option-settings');
//Hide "AltCoin Payment → Checkout Page Options".
remove_submenu_page('woo-altcoin-payment-gateway/woocommerce-altcoin-payment.php', 'cs-woo-altcoin-checkout-option-settings');
//Hide "AltCoin Payment → Widget Options".
remove_submenu_page('woo-altcoin-payment-gateway/woocommerce-altcoin-payment.php', 'cs-woo-altcoin-widget-settings');
//Hide "AltCoin Payment → Automatic Order".
remove_submenu_page('woo-altcoin-payment-gateway/woocommerce-altcoin-payment.php', 'cs-woo-altcoin-automatic-order-confirmation-settings');
//Hide "AltCoin Payment → Go Pro Plan".
remove_submenu_page('woo-altcoin-payment-gateway/woocommerce-altcoin-payment.php', 'cs-wapg-go-pro');
}
add_action('admin_menu', 'plt_hide_woo_altcoin_payment_gateway_menus', 11);
Where do I put this code?