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.
If you enjoyed reading this, then please explore our other articles below: