PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.1.1
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.1.1
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / classes / importer / class-cartflows-importer-loader.php

class-cartflows-importer-loader.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.1.1, at classes/importer/class-cartflows-importer-loader.php

74 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * CartFlows Importer Loader
4 *
5 * @package CartFlows
6 * @since 1.0.0
7 */
8
9 // Exit if accessed directly.
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit;
12 }
13 if ( ! class_exists( 'CartFlows_Importer_Loader' ) ) :
14
15 /**
16 * CartFlows Import
17 *
18 * @since 1.0.0
19 */
20 class CartFlows_Importer_Loader {
21
22 /**
23 * Instance
24 *
25 * @since 1.0.0
26 * @access private
27 * @var object Class object.
28 */
29 private static $instance;
30
31 /**
32 * Initiator
33 *
34 * @since 1.0.0
35 * @return object initialized object of class.
36 */
37 public static function get_instance() {
38 if ( ! isset( self::$instance ) ) {
39 self::$instance = new self();
40 }
41
42 return self::$instance;
43 }
44
45 /**
46 * Constructor
47 *
48 * @since 1.0.0
49 */
50 public function __construct() {
51
52 $this->setup_classes();
53 }
54
55 /**
56 * Setup importer classes
57 */
58 public function setup_classes() {
59
60 include_once CARTFLOWS_DIR . 'classes/importer/class-cartflows-api.php';
61 include_once CARTFLOWS_DIR . 'classes/importer/class-cartflows-importer-core.php';
62
63 include_once CARTFLOWS_DIR . 'classes/importer/batch-process/class-cartflows-batch-process.php';
64 include_once CARTFLOWS_DIR . 'classes/importer/class-cartflows-importer.php';
65 }
66 }
67
68 /**
69 * Initialize class object with 'get_instance()' method
70 */
71 CartFlows_Importer_Loader::get_instance();
72
73 endif;
74