PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 2.0.0
Subscriptions for WooCommerce with Stripe Recurring Payments v2.0.0
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
← All changes | includes/API.php +8 -0 1.5.02.0.0 View file →
@@ -1,8 +1,15 @@
1 1 <?php
2 +/**
3 + * REST API bootstrap.
4 + *
5 + * @package SpringDevs\Subscription
6 + */
2 7
3 8 namespace SpringDevs\Subscription;
4 9
10 +use SpringDevs\Subscription\Api\PlanController;
11 +
5 12 /**
6 13 * API Class
7 14 */
8 15 class API {
@@ -20,6 +27,7 @@
20 27 *
21 28 * @return void
22 29 */
23 30 public function register_api() {
31 + ( new PlanController() )->register_routes();
24 32 }
25 33 }