MainWP Community

Disable Marketing Hub menu item from WooCommerce 4.1

Disable the WooCommerce marketing hub menu item from wp-admin on child sites running version 4.1 of WooCommerce.

Snippet Type

Execute on Child Sites


add_filter( 'woocommerce_marketing_menu_items', '__return_empty_array' );
1 Like

Coupons in a future WooCommerce version will end up moving into the marketing hub.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.