# templately/2.0.1/includes/Utils/Plan.php

Templately – Elementor &amp; Gutenberg Template Library: 6500+ Free &amp; Pro Ready Templates And Cloud!, version 2.0.1. 14 lines.

- Page: https://pluginprobe.com/plugins/templately/2.0.1/code/includes/Utils/Plan.php
- Raw: https://pluginprobe.com/plugins/templately/2.0.1/raw/includes/Utils/Plan.php
- Modified: 2022-10-03T09:36:30+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/templately/2.0.1/code/includes/Utils/Plan.php#L10-L20`.

```php
<?php

namespace Templately\Utils;

class Plan extends Base {
	const ALL = 1;
	const STARTER = 2;
	const PRO = 3;

	public static function get( $plan = 'all' ) : int {
		$plan = strtoupper( $plan );
		return $plan === 'STARTER' ? self::STARTER : ( $plan === 'PRO' ? self::PRO : self::ALL );
	}
}
```
