Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram - Version 3.0.9

Version Description

  • Update: UI improvements

=

Download this release

Release Info

Developer Icegram
Plugin Icon 128x128 Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram
Version 3.0.9
Comparing to
See all releases

Code changes from version 3.0.8 to 3.0.9

icegram.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Icegram - Popups, Optins, CTAs & lot more...
4
  * Plugin URI: https://www.icegram.com/
5
  * Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules.
6
- * Version: 3.0.8
7
  * Tested up to: 6.0.2
8
  * Author: icegram
9
  * Author URI: https://www.icegram.com/
@@ -122,7 +122,7 @@ if ( ! defined( 'IG_PLUGIN_FILE' ) ) {
122
  }
123
 
124
  if ( ! defined( 'IG_PLUGIN_VERSION' ) ) {
125
- define( 'IG_PLUGIN_VERSION', '3.0.8' );
126
  }
127
 
128
  if ( ! defined( 'IG_PRODUCT_ID' ) ) {
3
  * Plugin Name: Icegram - Popups, Optins, CTAs & lot more...
4
  * Plugin URI: https://www.icegram.com/
5
  * Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules.
6
+ * Version: 3.0.9
7
  * Tested up to: 6.0.2
8
  * Author: icegram
9
  * Author URI: https://www.icegram.com/
122
  }
123
 
124
  if ( ! defined( 'IG_PLUGIN_VERSION' ) ) {
125
+ define( 'IG_PLUGIN_VERSION', '3.0.9' );
126
  }
127
 
128
  if ( ! defined( 'IG_PRODUCT_ID' ) ) {
lite/assets/images/upsell/content_locker.png ADDED
Binary file
lite/assets/images/upsell/selected-post-types.png ADDED
Binary file
lite/classes/ig-upsale-admin.php CHANGED
@@ -9,7 +9,6 @@ if ( ! class_exists( 'Icegram_upsale' ) ) {
9
 
10
  add_filter('icegram_message_field_link' ,array(&$this, 'display_cta_upsale'));
11
  add_action('icegram_after_button_label', array(&$this, 'add_button_animations_upsale'), 10, 2);
12
- add_action('icegram_behavior_settings', array(&$this,'display_behavior_triggers_upsale'),10,2);
13
  add_action( 'icegram_after_campaign_where_rule', array( &$this, 'add_option_where_upsale' ),10,2);
14
  add_action( 'icegram_after_campaign_when_rule', array( &$this, 'add_option_for_time_upsale' ),10,2);
15
  add_action('icegram_additional_campaign_rules', array(&$this,'display_countdown_timer_upsale'),10,2);
@@ -17,6 +16,11 @@ if ( ! class_exists( 'Icegram_upsale' ) ) {
17
  add_action('icegram_add_campaign_ctas', array( &$this, 'campaign_st_ctas_upsale' ), 10 );
18
  add_action( 'add_meta_boxes', array( &$this, 'add_campaigns_analytics_metaboxes' ), 0 );
19
 
 
 
 
 
 
20
  // Add upsale metabox only if there isn't any other ongoing sale period.
21
  // if ( ! self::is_offer_period( 'bfcm' ) ) {
22
  // add_action( 'add_meta_boxes', array( &$this, 'add_upsell_notice' ), 0 );
@@ -133,6 +137,26 @@ if ( ! class_exists( 'Icegram_upsale' ) ) {
133
  }
134
  }
135
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  /**
137
  * Check if sale period
138
  *
9
 
10
  add_filter('icegram_message_field_link' ,array(&$this, 'display_cta_upsale'));
11
  add_action('icegram_after_button_label', array(&$this, 'add_button_animations_upsale'), 10, 2);
 
12
  add_action( 'icegram_after_campaign_where_rule', array( &$this, 'add_option_where_upsale' ),10,2);
13
  add_action( 'icegram_after_campaign_when_rule', array( &$this, 'add_option_for_time_upsale' ),10,2);
14
  add_action('icegram_additional_campaign_rules', array(&$this,'display_countdown_timer_upsale'),10,2);
16
  add_action('icegram_add_campaign_ctas', array( &$this, 'campaign_st_ctas_upsale' ), 10 );
17
  add_action( 'add_meta_boxes', array( &$this, 'add_campaigns_analytics_metaboxes' ), 0 );
18
 
19
+ add_action('icegram_behavior_settings', array($this,'display_content_locker_upsell'),10,2);
20
+ add_action('icegram_behavior_settings', array(&$this,'display_behavior_triggers_upsale'),10,2);
21
+
22
+ add_action( 'icegram_after_campaign_pages_where_rule', array( &$this, 'add_selected_post_types_rule_upsell' ),10,2);
23
+
24
  // Add upsale metabox only if there isn't any other ongoing sale period.
25
  // if ( ! self::is_offer_period( 'bfcm' ) ) {
26
  // add_action( 'add_meta_boxes', array( &$this, 'add_upsell_notice' ), 0 );
137
  }
138
  }
139
 
140
+ function display_content_locker_upsell( $message_id, $message_data ){
141
+ global $icegram;
142
+
143
+ if( $icegram->can_upsell_features( array('lite', 'plus') ) ){
144
+ ?>
145
+ <a class="" href="https://www.icegram.com/pricing/?utm_source=in_app_new&utm_medium=split_testing&utm_campaign=ig_upsell" target="_blank"><img src="<?php echo $icegram->plugin_url ?>/assets/images/upsell/content_locker.png"/></a>
146
+ <?php
147
+ }
148
+ }
149
+
150
+ function add_selected_post_types_rule_upsell( $campaign_id, $campaign_target_rules ){
151
+ global $icegram;
152
+
153
+ if( $icegram->can_upsell_features( array('lite', 'plus') ) ){
154
+ ?>
155
+ <a class="" href="https://www.icegram.com/pricing/?utm_source=in_app_new&utm_medium=split_testing&utm_campaign=ig_upsell" target="_blank"><img class="-ml-2" src="<?php echo $icegram->plugin_url ?>/assets/images/upsell/selected-post-types.png"/></a>
156
+ <?php
157
+ }
158
+ }
159
+
160
  /**
161
  * Check if sale period
162
  *
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.icegram.com/
4
  Tags: popup, optin, hellobar, lead capture, form
5
  Requires at least: 3.9
6
  Tested up to: 6.0.2
7
- Stable tag: 3.0.8
8
  License: GPLv3
9
 
10
  The best WordPress popup plugin that lets you create popups and action bars within seconds. Customize exit-intent popup campaigns, action bars, badges, stickies, inline optin, fullscreen overlay, ribbons, sidebar panel and more in no time.
@@ -458,12 +458,16 @@ Contact Us, provide as much detail of the problem as you can. We will try to sol
458
 
459
  == Upgrade Notice ==
460
 
461
- = 3.0.8 =
462
 
463
- * New: Target campaigns to any post with "Where" conditions
464
 
465
  == Changelog ==
466
 
 
 
 
 
467
  **3.0.8 (15.09.2022)**
468
 
469
  * New: Target campaigns to any post with "Where" conditions
4
  Tags: popup, optin, hellobar, lead capture, form
5
  Requires at least: 3.9
6
  Tested up to: 6.0.2
7
+ Stable tag: 3.0.9
8
  License: GPLv3
9
 
10
  The best WordPress popup plugin that lets you create popups and action bars within seconds. Customize exit-intent popup campaigns, action bars, badges, stickies, inline optin, fullscreen overlay, ribbons, sidebar panel and more in no time.
458
 
459
  == Upgrade Notice ==
460
 
461
+ = 3.0.9 =
462
 
463
+ * Update: UI improvements
464
 
465
  == Changelog ==
466
 
467
+ **3.0.9 (29.09.2022)**
468
+
469
+ * Update: UI improvements
470
+
471
  **3.0.8 (15.09.2022)**
472
 
473
  * New: Target campaigns to any post with "Where" conditions