# subscription/1.10.9/includes/API.php

Subscriptions for WooCommerce with Stripe Recurring Payments, version 1.10.9. 26 lines.

- Page: https://pluginprobe.com/plugins/subscription/1.10.9/code/includes/API.php
- Raw: https://pluginprobe.com/plugins/subscription/1.10.9/raw/includes/API.php
- Modified: 2025-06-30T14:41:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/subscription/1.10.9/code/includes/API.php#L10-L20`.

```php
<?php

namespace SpringDevs\Subscription;

/**
 * API Class
 */
class API {


	/**
	 * Initialize the class
	 */
	public function __construct() {
		add_action( 'rest_api_init', array( $this, 'register_api' ) );
	}

	/**
	 * Register the API
	 *
	 * @return void
	 */
	public function register_api() {
	}
}

```
