PluginProbe
Tiered Pricing Table for WooCommerce / 2.3.3
Tiered Pricing Table for WooCommerce v2.3.3
7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 All 90 releases
tier-pricing-table / freemius / includes / entities / class-fs-plugin-tag.php

class-fs-plugin-tag.php in Tiered Pricing Table for WooCommerce 2.3.3, at freemius/includes/entities/class-fs-plugin-tag.php

60 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package Freemius
4 * @copyright Copyright (c) 2018, Freemius, Inc.
5 * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
6 * @since 2.0.0
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12
13 class FS_Plugin_Tag extends FS_Entity {
14 /**
15 * @var string
16 */
17 public $version;
18 /**
19 * @var string
20 */
21 public $url;
22 /**
23 * @var string
24 */
25 public $requires_platform_version;
26 /**
27 * @var string
28 */
29 public $tested_up_to_version;
30 /**
31 * @var bool
32 */
33 public $has_free;
34 /**
35 * @var bool
36 */
37 public $has_premium;
38 /**
39 * @var string One of the following: `pending`, `beta`, `unreleased`.
40 */
41 public $release_mode;
42
43 function __construct( $tag = false ) {
44 parent::__construct( $tag );
45 }
46
47 static function get_type() {
48 return 'tag';
49 }
50
51 /**
52 * @author Leo Fajardo (@leorw)
53 * @since 2.3.0
54 *
55 * @return bool
56 */
57 function is_beta() {
58 return ( 'beta' === $this->release_mode );
59 }
60 }