Hi @artextdevelop,
It is possible to disable the WooCommerce admin that is now part of the core WooCommerce plugin. You can add this snippet to your theme’s functions.php file or use a plugin like Code Snippets to add it to your site.
add_filter( 'woocommerce_admin_disabled', '__return_true' );
That should remove the analytics and the activity panel section for you.
Cheers
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Hi
I used this add_filter( ‘woocommerce_admin_disabled’, ‘__return_true’ ); code. But it disable whole woocommerce dashboard and admin header. I want to remove inbox only. Others like order| Stock| review should be visible.If inbox is there I don’t want to receive any notifications and news from woocommerce or from any other plugins on this inbox.
-
This reply was modified 5 years, 9 months ago by
nandhan2005.