# subscription/2.0.0/includes/Frontend.php

Subscriptions for WooCommerce with Stripe Recurring Payments, version 2.0.0. 41 lines.

- Page: https://pluginprobe.com/plugins/subscription/2.0.0/code/includes/Frontend.php
- Raw: https://pluginprobe.com/plugins/subscription/2.0.0/raw/includes/Frontend.php
- Modified: 2026-09-14T12:17:12+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/2.0.0/code/includes/Frontend.php#L10-L20`.

```php
<?php
/**
 * Frontend bootstrap.
 *
 * @package SpringDevs\Subscription
 */

namespace SpringDevs\Subscription;

use SpringDevs\Subscription\Frontend\ActionController;
use SpringDevs\Subscription\Frontend\Cart;
use SpringDevs\Subscription\Frontend\Downloadable;
use SpringDevs\Subscription\Frontend\MyAccount;
use SpringDevs\Subscription\Frontend\Order as FrontendOrder;
use SpringDevs\Subscription\Frontend\Plans;
use SpringDevs\Subscription\Frontend\Product;

/**
 * Frontend handler class
 */
class Frontend {

	/**
	 * Frontend constructor.
	 */
	public function __construct() {
		new Product();
		// Pro ships a superset storefront plan UI (multi-plan selector, per-variation
		// swap) on the same hooks, so free's single-line display runs only when Pro is
		// absent — otherwise the two would double-render.
		if ( ! subscrpt_pro_activated() ) {
			new Plans();
		}
		new Cart();
		new FrontendOrder();
		new ActionController();
		new MyAccount();
		new Downloadable();
	}
}

```
