PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 1.3.1
Subscriptions for WooCommerce with Stripe Recurring Payments v1.3.1
2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 All 61 releases
subscription / includes / Illuminate.php

Illuminate.php in Subscriptions for WooCommerce with Stripe Recurring Payments 1.3.1, at includes/Illuminate.php

49 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 namespace SpringDevs\Subscription;
4
5 use SpringDevs\Subscription\Frontend\Checkout;
6 use SpringDevs\Subscription\Illuminate\AutoRenewal;
7 use SpringDevs\Subscription\Illuminate\Block;
8 use SpringDevs\Subscription\Illuminate\Cron;
9 use SpringDevs\Subscription\Illuminate\Email;
10 use SpringDevs\Subscription\Illuminate\Order;
11 use SpringDevs\Subscription\Illuminate\Post;
12 use SpringDevs\Subscription\Illuminate\Stripe;
13
14 /**
15 * Globally Load Scripts.
16 */
17 class Illuminate {
18
19 /**
20 * Initialize the Class.
21 */
22 public function __construct() {
23 $this->stripe_initialization();
24 new Order();
25 new Cron();
26 new Post();
27 new Block();
28 new Checkout();
29 new AutoRenewal();
30 new Email();
31 }
32
33 /**
34 * Stripe Initialization.
35 *
36 * @return void
37 */
38 public function stripe_initialization() {
39 if ( function_exists( 'woocommerce_gateway_stripe' ) ) {
40 include_once dirname( WC_STRIPE_MAIN_FILE ) . '/includes/compat/trait-wc-stripe-subscriptions-utilities.php';
41 include_once dirname( WC_STRIPE_MAIN_FILE ) . '/includes/compat/trait-wc-stripe-pre-orders.php';
42 include_once dirname( WC_STRIPE_MAIN_FILE ) . '/includes/compat/trait-wc-stripe-subscriptions.php';
43 include_once dirname( WC_STRIPE_MAIN_FILE ) . '/includes/abstracts/abstract-wc-stripe-payment-gateway.php';
44
45 new Stripe();
46 }
47 }
48 }
49