From 39c3ed3291b7bc1b62f980a1b8415652dad1464e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 17 Dec 2024 11:54:25 +0100 Subject: [PATCH] WC Disable Marketplace promotions --- mu-plugins/woocommerce.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mu-plugins/woocommerce.php b/mu-plugins/woocommerce.php index af833b7..fabe0bb 100644 --- a/mu-plugins/woocommerce.php +++ b/mu-plugins/woocommerce.php @@ -53,3 +53,11 @@ static function ($features) { 10, 0 ); + +// Disable Marketplace promotions +add_filter( + 'woocommerce_marketplace_suppress_promotions', + '__return_true', + 10, + 0 +);