Skip to content

Commit 474362d

Browse files
committed
update code
1 parent c5a2675 commit 474362d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

hellotext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Plugin Name: Hellotext
99
* Plugin URI: https://github.com/hellotext/hellotext-wordpress
1010
* Description: Integrates Hellotext tracking to WooCommerce.
11-
* Version: 1.1.2
11+
* Version: 1.1.5
1212
* Author: Hellotext
1313
* Author URI: https://www.hellotext.com
1414
* License: GPL v2

src/Events/AppInstalled.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,7 @@ function maybe_trigger_integration($business_id) {
7676
}
7777
}
7878

79-
add_action('update_option_hellotext_business_id', 'after_business_id_save', 10, 2);
8079
add_action('add_option_hellotext_business_id', 'after_business_id_set', 10, 1);
80+
add_action('add_option_hellotext_access_token', 'maybe_trigger_integration', 10, 1);
81+
add_action('update_option_hellotext_business_id', 'after_business_id_save', 10, 2);
82+
add_action('update_option_hellotext_access_token', 'maybe_trigger_integration', 10, 2);

0 commit comments

Comments
 (0)