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
← All changes | modules/flow/classes/class-cartflows-flow-loader.php +8 -4 1.1.13 → 3.3.0 View file →
@@ -4,8 +4,12 @@
4 4 *
5 5 * @package CartFlows
6 6 */
7 7
8 +// Exit if accessed directly.
9 +if ( ! defined( 'ABSPATH' ) ) {
10 + exit;
11 +}
8 12 /**
9 13 * Initialization
10 14 *
11 15 * @since 1.0.0
@@ -24,9 +28,9 @@
24 28 * Initiator
25 29 */
26 30 public static function get_instance() {
27 31 if ( ! isset( self::$instance ) ) {
28 - self::$instance = new self;
32 + self::$instance = new self();
29 33 }
30 34 return self::$instance;
31 35 }
32 36
@@ -43,13 +47,13 @@
43 47 * @since 1.0.0
44 48 *
45 49 * @return void
46 50 */
47 - function include_files() {
51 + public function include_files() {
52 +
48 53 require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-flow-post-type.php';
49 54 require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-step-post-type.php';
50 - require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-step-post-meta.php';
51 - require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-flow-shortcodes.php';
55 + require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-permalink.php';
52 56 }
53 57 }
54 58
55 59 /**