How to disable WooCommerce Admin Dashboard and WooCommerce Analytics - functions.php

PHOTO EMBED

Wed Aug 31 2022 21:07:54 GMT+0000 (UTC)

Saved by @satinbest #php

//disable WooCommerce Admin Dashboard and WooCommerce Analytics
add_filter( 'woocommerce_admin_disabled', '__return_true' );
content_copyCOPY

Disable WooCommerce Admin

https://www.webroomtech.com/how-to-disable-woocommerce-admin-dashboard-and-woocommerce-analytics/