Disable the Marketing Coupons menu item in WooCommerce

Disable the marketing coupon menu item if using WooCommerce on your child site.

Snippet Type

Execute on Child Sites


add_filter( 'woocommerce_admin_features', 'disable_coupon_features' );

function disable_coupon_features( $features ) {
	$coupons = array_search('coupons', $features);
	unset( $features[$coupons] );
	return $features;

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