# cartflows/1.1.14/modules/flow/classes/class-cartflows-flow-loader.php

CartFlows – Funnel Builder &amp; Checkout Plugin for WooCommerce, version 1.1.14. 59 lines.

- Page: https://pluginprobe.com/plugins/cartflows/1.1.14/code/modules/flow/classes/class-cartflows-flow-loader.php
- Raw: https://pluginprobe.com/plugins/cartflows/1.1.14/raw/modules/flow/classes/class-cartflows-flow-loader.php
- Modified: 2019-04-24T06:00:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/cartflows/1.1.14/code/modules/flow/classes/class-cartflows-flow-loader.php#L10-L20`.

```php
<?php
/**
 * Flow loader
 *
 * @package CartFlows
 */

/**
 * Initialization
 *
 * @since 1.0.0
 */
class Cartflows_Flow_Loader {


	/**
	 * Member Variable
	 *
	 * @var instance
	 */
	private static $instance;

	/**
	 *  Initiator
	 */
	public static function get_instance() {
		if ( ! isset( self::$instance ) ) {
			self::$instance = new self;
		}
		return self::$instance;
	}

	/**
	 *  Constructor
	 */
	public function __construct() {
		$this->include_files();
	}

	/**
	 * Load classes.
	 *
	 * @since 1.0.0
	 *
	 * @return void
	 */
	function include_files() {
		require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-flow-post-type.php';
		require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-step-post-type.php';
		require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-step-post-meta.php';
		require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-flow-shortcodes.php';
	}
}

/**
 *  Kicking this off by calling 'get_instance()' method
 */
Cartflows_Flow_Loader::get_instance();

```
