If you’re not satisfied with the new WooCommerce Analytics and WooCommerce Admin, you can always start using the original reports which are available under WooCommerce -> Reports.
How to disable WooCommerce Admin Dashboard and WooCommerce Analytics
If you want to disable completely WooCommerce Analytics and WooCommerce Admin, this is done by using the woocommerce_admin_disabled filter. Not that the code below won’t work if you put it in your theme’s functions.php file. You have to create a plugin and activate it through Plugins -> Installed Plugins.
So, go in /wp-contents/plugins/ and there create disable-woocommerce-admin.php. Inside that file put the following code:
<?php /** * Plugin Name: Disable WooCommerce Admin * Description: This plugin disables the new WooCommerce Admin package in WooCommerce. * Version: 1.0 */ add_filter( 'woocommerce_admin_disabled', '__return_true' );
After you activate the plugin you’ll notice that WooCommerce -> Dashboard and the whole menu item Analytics will not be available.
The original plugin file to disable the new WooCommerce Admin package in WooCommerce can be downloaded here.
Related Articles
If you enjoyed reading this, then please explore our other articles below:
I really appreciate you posting this. Every time my client logs into admin, we have a site with historical orders where original products have been deleted and we get server overloads and many errors on wc-admin_import_order queries. The overload lasts 20 to 30 minutes and occurs daily!
My hope is by disabling the package these will stop. It is pretty lousy of woocommerce to include a package that seems so cool but works so badly with no way to DELETE the thing.
Thanks again,
Richard
Thanks! I hope it solves the problem. I can advise you to write to WooCommerce support and open a ticket here: https://woocommerce.com/my-account/create-a-ticket/
I’ve used their support several times and they really helped.