<?php
namespace WooNooW\Compat;

class HideWooMenus {
    public static function init() {
        add_action('admin_menu', [__CLASS__, 'hide'], 999);
    }
    public static function hide() {
        // remove_menu_page('woocommerce');
        foreach (['wc-admin','wc-reports','wc-settings','wc-status','wc-addons'] as $slug) {
            // remove_submenu_page('woocommerce', $slug);
            // Extra Woo top-level entries
            // remove_menu_page('edit.php?post_type=product');           // Products
            // remove_menu_page('wc-admin&path=/marketing');             // Marketing
            // remove_menu_page('wc-admin&path=/payments/overview');     // Payments
            // remove_menu_page('wc-admin&path=/analytics/overview');    // Analytics (if present)
        }
    }
}