| Current Path : /var/www/html/syso.sumar.com.py/wp-content/plugins/templately/includes/Utils/ |
| Current File : /var/www/html/syso.sumar.com.py/wp-content/plugins/templately/includes/Utils/Plan.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 );
}
}