Disable Marketing Hub menu item from WooCommerce

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

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'woocommerce_admin_features', 'disable_features' );

function disable_features( $features ) {
	$marketing = array_search('marketing', $features);
	unset( $features[$marketing] );
	return $features;
}
3 Likes
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.