Current Path : /storage/v11800/weinfluence-new/public_html/wp-content/plugins/templately/includes/Utils/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/weinfluence-new/public_html/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;
/**
* Get the plan ID.
*
* @since 2.0.0
* @param string $plan
*
* @return int
*/
public static function get( $plan = 'all' ) {
$plan = strtoupper( $plan );
return $plan === 'STARTER' ? self::STARTER : ( $plan === 'PRO' ? self::PRO : self::ALL );
}
}