-
Home
-
Free Woocommerce Product Table View – Woo Table Pro
- Tips
function plt_hide_free_product_table_for_woocommerce_menus() {
//Hide the "Binary Carpenter" menu.
remove_menu_page('bccomvn_wp_plugins_myn_menu');
//Hide the "Binary Carpenter → Binary Carpenter" menu.
remove_submenu_page('bccomvn_wp_plugins_myn_menu', 'bccomvn_wp_plugins_myn_menu');
//Hide the "Binary Carpenter → Woo Table Pro" menu.
remove_submenu_page('bccomvn_wp_plugins_myn_menu', 'pfw_slug-pfw_tables');
}
add_action('admin_menu', 'plt_hide_free_product_table_for_woocommerce_menus', 11);
Where do I put this code?