| @@ -1,14 +1,18 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace SpringDevs\Subscription; |
| 4 | 4 | |
| 5 | +use SpringDevs\Subscription\Admin\Dashboard; | |
| 5 | 6 | use SpringDevs\Subscription\Admin\Integrations; |
| 6 | 7 | use SpringDevs\Subscription\Admin\Required; |
| 7 | 8 | use SpringDevs\Subscription\Admin\Links; |
| 9 | +use SpringDevs\Subscription\Admin\CancellationFlow; | |
| 8 | 10 | use SpringDevs\Subscription\Admin\Menu; |
| 9 | 11 | use SpringDevs\Subscription\Admin\Order as AdminOrder; |
| 12 | +use SpringDevs\Subscription\Admin\Plans; | |
| 10 | 13 | use SpringDevs\Subscription\Admin\Product; |
| 14 | +use SpringDevs\Subscription\Admin\ProSettingsFields; | |
| 11 | 15 | use SpringDevs\Subscription\Admin\Settings; |
| 12 | 16 | use SpringDevs\Subscription\Admin\Subscriptions; |
| 13 | 17 | use SpringDevs\Subscription\Illuminate\Comments; |
| 14 | 18 | |
| @@ -37,8 +41,12 @@ | ||
| 37 | 41 | } |
| 38 | 42 | // Only load admin content if WooCommerce is active |
| 39 | 43 | if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) { |
| 40 | 44 | new Menu(); |
| 45 | + new Dashboard(); | |
| 46 | + new Plans(); | |
| 47 | + new CancellationFlow(); | |
| 48 | + new Product\Plans(); | |
| 41 | 49 | new Integrations(); |
| 42 | 50 | new Product(); |
| 43 | 51 | new Subscriptions(); |
| 44 | 52 | new AdminOrder(); |
| @@ -43,8 +51,9 @@ | ||
| 43 | 51 | new Subscriptions(); |
| 44 | 52 | new AdminOrder(); |
| 45 | 53 | new Comments(); |
| 46 | 54 | new Settings(); |
| 55 | + new ProSettingsFields(); | |
| 47 | 56 | new Links(); |
| 48 | 57 | } |
| 49 | 58 | } |
| 50 | 59 | |