function plt_hide_sales_health_monitor_for_woocommerce_menus() { //Hide the "Sales Health Monitor" menu. remove_menu_page('sales-health-monitor'); } add_action('admin_menu', 'plt_hide_sales_health_monitor_for_woocommerce_menus', 11);
Where do I put this code?