Skip to content

Commit

Permalink
Add gtmkit_options_defaults filter
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenLundsgaard committed Sep 26, 2024
1 parent 91bdded commit 6a1ec1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] = [
Expand Down

0 comments on commit 6a1ec1a

Please sign in to comment.