PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.7
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.7
2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 All 107 releases
b-blocks / freemius / includes / entities / class-fs-plugin-tag.php

class-fs-plugin-tag.php in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.7, at freemius/includes/entities/class-fs-plugin-tag.php

68 lines 1.4 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 $requires_programming_language_version;
30 /**
31 * @var string
32 */
33 public $tested_up_to_version;
34 /**
35 * @var bool
36 */
37 public $has_free;
38 /**
39 * @var bool
40 */
41 public $has_premium;
42 /**
43 * @var string One of the following: `pending`, `beta`, `unreleased`.
44 */
45 public $release_mode;
46 /**
47 * @var string
48 */
49 public $upgrade_notice;
50
51 function __construct( $tag = false ) {
52 parent::__construct( $tag );
53 }
54
55 static function get_type() {
56 return 'tag';
57 }
58
59 /**
60 * @author Leo Fajardo (@leorw)
61 * @since 2.3.0
62 *
63 * @return bool
64 */
65 function is_beta() {
66 return ( 'beta' === $this->release_mode );
67 }
68 }