PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
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 / thankyou / class-cartflows-thankyou.php

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

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