PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 1.1.2
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v1.1.2
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 / modules / checkout / class-cartflows-checkout.php

class-cartflows-checkout.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 1.1.2, at modules/checkout/class-cartflows-checkout.php

49 lines 924 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Checkout
4 *
5 * @package Woo Funnel Cart
6 */
7
8 define( 'CARTFLOWS_CHECKOUT_DIR', CARTFLOWS_DIR . 'modules/checkout/' );
9 define( 'CARTFLOWS_CHECKOUT_URL', CARTFLOWS_URL . 'modules/checkout/' );
10
11 /**
12 * Initial Setup
13 *
14 * @since 1.0.0
15 */
16 class Cartflows_Checkout {
17
18
19 /**
20 * Member Variable
21 *
22 * @var object instance
23 */
24 private static $instance;
25
26 /**
27 * Initiator
28 */
29 public static function get_instance() {
30 if ( ! isset( self::$instance ) ) {
31 self::$instance = new self;
32 }
33 return self::$instance;
34 }
35
36 /**
37 * Constructor function that initializes required actions and hooks
38 */
39 public function __construct() {
40 require_once CARTFLOWS_CHECKOUT_DIR . 'classes/class-cartflows-checkout-markup.php';
41 require_once CARTFLOWS_CHECKOUT_DIR . 'classes/class-cartflows-checkout-meta.php';
42 }
43 }
44
45 /**
46 * Kicking this off by calling 'get_instance()' method
47 */
48 Cartflows_Checkout::get_instance();
49