Funnel Builder by CartFlows – Create High Converting Sales Funnels For WordPress - Version 1.7.3

Version Description

Download this release

Release Info

Developer cartflowswp
Plugin Icon Funnel Builder by CartFlows – Create High Converting Sales Funnels For WordPress
Version 1.7.3
Comparing to
See all releases

Code changes from version 1.7.2 to 1.7.3

cartflows.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: CartFlows
4
  * Plugin URI: https://cartflows.com/
5
  * Description: Create beautiful checkout pages & sales flows for WooCommerce.
6
- * Version: 1.7.2
7
  * Author: CartFlows Inc
8
  * Author URI: https://cartflows.com/
9
  * Text Domain: cartflows
3
  * Plugin Name: CartFlows
4
  * Plugin URI: https://cartflows.com/
5
  * Description: Create beautiful checkout pages & sales flows for WooCommerce.
6
+ * Version: 1.7.3
7
  * Author: CartFlows Inc
8
  * Author URI: https://cartflows.com/
9
  * Text Domain: cartflows
changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  Version 1.7.2 - Tuesday, 14th December 2021
2
  - Improvement: Starter templates compatibility added.
3
 
1
+ Version 1.7.3 - Tuesday, 21th December 2021
2
+ - Improvement: Improved Starter templates compatibility.
3
+
4
  Version 1.7.2 - Tuesday, 14th December 2021
5
  - Improvement: Starter templates compatibility added.
6
 
classes/class-cartflows-loader.php CHANGED
@@ -140,7 +140,7 @@ if ( ! class_exists( 'Cartflows_Loader' ) ) {
140
  define( 'CARTFLOWS_DIR', plugin_dir_path( CARTFLOWS_FILE ) );
141
  define( 'CARTFLOWS_URL', plugins_url( '/', CARTFLOWS_FILE ) );
142
 
143
- define( 'CARTFLOWS_VER', '1.7.2' );
144
  define( 'CARTFLOWS_SLUG', 'cartflows' );
145
  define( 'CARTFLOWS_SETTINGS', 'cartflows_settings' );
146
  define( 'CARTFLOWS_NAME', 'CartFlows' );
140
  define( 'CARTFLOWS_DIR', plugin_dir_path( CARTFLOWS_FILE ) );
141
  define( 'CARTFLOWS_URL', plugins_url( '/', CARTFLOWS_FILE ) );
142
 
143
+ define( 'CARTFLOWS_VER', '1.7.3' );
144
  define( 'CARTFLOWS_SLUG', 'cartflows' );
145
  define( 'CARTFLOWS_SETTINGS', 'cartflows_settings' );
146
  define( 'CARTFLOWS_NAME', 'CartFlows' );
classes/importer/class-cartflows-importer.php CHANGED
@@ -256,34 +256,36 @@ if ( ! class_exists( 'CartFlows_Importer' ) ) :
256
 
257
  self::get_instance()->set_step_to_flow( $flow_id, $new_step_id, $step['title'], $step_slug );
258
 
259
- if ( isset( $step['post_content'] ) && ! empty( $step['post_content'] ) ) {
260
-
261
- // Download and replace images.
262
- $content = $this->get_content( $step['post_content'] );
263
-
264
- // Update post content.
265
- wp_update_post(
266
- array(
267
- 'ID' => $new_step_id,
268
- 'post_content' => $content,
269
- )
270
- );
271
- }
 
272
 
273
- // Elementor Data.
274
- if ( ( 'elementor' === $default_page_builder ) && class_exists( '\Elementor\Plugin' ) ) {
275
- // Add "elementor" in import [queue].
276
- // @todo Remove required `allow_url_fopen` support.
277
- if ( ini_get( 'allow_url_fopen' ) && isset( $step['meta']['_elementor_data'] ) ) {
278
- $obj = new \Elementor\TemplateLibrary\CartFlows_Importer_Elementor();
279
- $obj->import_single_template( $new_step_id );
 
280
  }
281
- }
282
 
283
- // Beaver Builder.
284
- if ( ( 'beaver-builder' === $default_page_builder ) && class_exists( 'FLBuilder' ) ) {
285
- if ( isset( $step['meta']['_fl_builder_data'] ) ) {
286
- CartFlows_Importer_Beaver_Builder::get_instance()->import_single_post( $new_step_id );
 
287
  }
288
  }
289
  }
256
 
257
  self::get_instance()->set_step_to_flow( $flow_id, $new_step_id, $step['title'], $step_slug );
258
 
259
+ if ( apply_filters( 'cartflows_enable_imported_content_processing', true ) ) {
260
+ if ( isset( $step['post_content'] ) && ! empty( $step['post_content'] ) ) {
261
+
262
+ // Download and replace images.
263
+ $content = $this->get_content( $step['post_content'] );
264
+
265
+ // Update post content.
266
+ wp_update_post(
267
+ array(
268
+ 'ID' => $new_step_id,
269
+ 'post_content' => $content,
270
+ )
271
+ );
272
+ }
273
 
274
+ // Elementor Data.
275
+ if ( ( 'elementor' === $default_page_builder ) && class_exists( '\Elementor\Plugin' ) ) {
276
+ // Add "elementor" in import [queue].
277
+ // @todo Remove required `allow_url_fopen` support.
278
+ if ( ini_get( 'allow_url_fopen' ) && isset( $step['meta']['_elementor_data'] ) ) {
279
+ $obj = new \Elementor\TemplateLibrary\CartFlows_Importer_Elementor();
280
+ $obj->import_single_template( $new_step_id );
281
+ }
282
  }
 
283
 
284
+ // Beaver Builder.
285
+ if ( ( 'beaver-builder' === $default_page_builder ) && class_exists( 'FLBuilder' ) ) {
286
+ if ( isset( $step['meta']['_fl_builder_data'] ) ) {
287
+ CartFlows_Importer_Beaver_Builder::get_instance()->import_single_post( $new_step_id );
288
+ }
289
  }
290
  }
291
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: sujaypawar, wpcrafter
3
  Tags: woocommerce, funnel builder, sales funnels, elementor, beaver builder
4
  Requires at least: 5.4
5
  Tested up to: 5.8.1
6
- Stable tag: 1.7.2
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -126,6 +126,9 @@ Glad you asked! Most normal users have less than 3 funnels on a single website,
126
 
127
  == Changelog ==
128
 
 
 
 
129
  = Version 1.7.2 - Tuesday, 14th December 2021 =
130
  * Improvement: Starter templates compatibility added.
131
 
3
  Tags: woocommerce, funnel builder, sales funnels, elementor, beaver builder
4
  Requires at least: 5.4
5
  Tested up to: 5.8.1
6
+ Stable tag: 1.7.3
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
126
 
127
  == Changelog ==
128
 
129
+ = Version 1.7.3 - Tuesday, 21th December 2021 =
130
+ * Improvement: Improved Starter templates compatibility.
131
+
132
  = Version 1.7.2 - Tuesday, 14th December 2021 =
133
  * Improvement: Starter templates compatibility added.
134