| @@ -1,14 +1,19 @@ | ||
| 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\ProductList; | |
| 15 | +use SpringDevs\Subscription\Admin\ProSettingsFields; | |
| 11 | 16 | use SpringDevs\Subscription\Admin\Settings; |
| 12 | 17 | use SpringDevs\Subscription\Admin\Subscriptions; |
| 13 | 18 | use SpringDevs\Subscription\Illuminate\Comments; |
| 14 | 19 | |
| @@ -37,14 +42,20 @@ | ||
| 37 | 42 | } |
| 38 | 43 | // Only load admin content if WooCommerce is active |
| 39 | 44 | if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) { |
| 40 | 45 | new Menu(); |
| 46 | + new Dashboard(); | |
| 47 | + new Plans(); | |
| 48 | + new CancellationFlow(); | |
| 49 | + new Product\Plans(); | |
| 41 | 50 | new Integrations(); |
| 42 | 51 | new Product(); |
| 52 | + new ProductList(); | |
| 43 | 53 | new Subscriptions(); |
| 44 | 54 | new AdminOrder(); |
| 45 | 55 | new Comments(); |
| 46 | 56 | new Settings(); |
| 57 | + new ProSettingsFields(); | |
| 47 | 58 | new Links(); |
| 48 | 59 | } |
| 49 | 60 | } |
| 50 | 61 | |