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.

Advertisements
Jetpack

Recent Articles

Categories

Jetpack

Related Articles

If you enjoyed reading this, then please explore our other articles below:

Comments

Leave a comment
  1. Richard Bartz March 27, 2020 at 5:15 pm - Reply

    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

Leave a Reply

Comment policy: We love comments and appreciate the time that readers spend to share ideas and give feedback. However, all comments are manually moderated and those deemed to be spam or solely promotional will be deleted.

Advertisements