From 6a1ec1a25aec058ab0f5c6dc0c658be3f468fc9d Mon Sep 17 00:00:00 2001 From: Torben Lundsgaard Date: Thu, 26 Sep 2024 15:54:47 +0200 Subject: [PATCH] Add gtmkit_options_defaults filter --- src/Options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Options.php b/src/Options.php index 806709e..8f2b2f6 100644 --- a/src/Options.php +++ b/src/Options.php @@ -152,7 +152,7 @@ public static function get_defaults(): array { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } - $map = self::$map; + $map = apply_filters( 'gtmkit_options_defaults', self::$map ); if ( \is_plugin_active( 'woocommerce/woocommerce.php' ) ) { $map['integrations']['woocommerce_integration'] = [