-
Home
-
WooCommerce Pricing – Product Pricing
- Tips
function plt_hide_woo_pricing_table_menus() {
//Hide "Pricing Table".
remove_menu_page('Total_Soft_Pricing_Table?TS_PTable_Nonce=e6fc4fe6d7');
//Hide "Pricing Table → Table Manager".
remove_submenu_page('Total_Soft_Pricing_Table?TS_PTable_Nonce=e6fc4fe6d7', 'Total_Soft_Pricing_Table?TS_PTable_Nonce=e6fc4fe6d7');
//Hide "Pricing Table → Support Forum".
remove_submenu_page('Total_Soft_Pricing_Table?TS_PTable_Nonce=e6fc4fe6d7', 'Total_Soft_Pricing_Support');
//Hide "Pricing Table → Total Products".
remove_submenu_page('Total_Soft_Pricing_Table?TS_PTable_Nonce=e6fc4fe6d7', 'Total_Soft_Pricing_Table_Products?TS_PTable_Nonce=e6fc4fe6d7');
}
add_action('admin_menu', 'plt_hide_woo_pricing_table_menus', 11);
Where do I put this code?