Disable WooCommerce Marketing menu

Add the following PHP code snippet in your favorite code manager plugin like Scripts organizer and set it to load on front end

add_filter( 'woocommerce_marketing_menu_items', '__return_empty_array' );

Click to Copy