-
Home
-
HieCOR WooCommerce Plugin
- Tips
function plt_hide_woo_corcrm_secure_payment_gateway_menus() {
//Hide the "HieCOR Payments" menu.
remove_menu_page('wc-settings&tab=checkout§ion=corcrm_payment');
//Hide the "HieCOR Payments → HieCOR Payments" menu.
remove_submenu_page('wc-settings&tab=checkout§ion=corcrm_payment', 'wc-settings&tab=checkout§ion=corcrm_payment');
//Hide the "HieCOR Payments → Bulk Post" menu.
remove_submenu_page('wc-settings&tab=checkout§ion=corcrm_payment', 'corcrm-bulkimport');
}
add_action('admin_menu', 'plt_hide_woo_corcrm_secure_payment_gateway_menus', 11);
Where do I put this code?