← All changes
|
freemius/includes/entities/class-fs-plugin-plan.php
+18
-6
2.3.2
→
8.0.2
View file →
| @@ -12,9 +12,8 @@ | ||
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * Class FS_Plugin_Plan |
| 15 | 15 | * |
| 16 | - * @property FS_Pricing[] $pricing | |
| 17 | 16 | */ |
| 18 | 17 | class FS_Plugin_Plan extends FS_Entity { |
| 19 | 18 | |
| 20 | 19 | #region Properties |
| @@ -75,13 +74,15 @@ | ||
| 75 | 74 | /** |
| 76 | 75 | * @var string Support phone. |
| 77 | 76 | */ |
| 78 | 77 | public $support_phone; |
| 78 | + /** | |
| 79 | + * @var string Support skype username. | |
| 80 | + * | |
| 81 | + * @deprecated 2.12.1 | |
| 82 | + */ | |
| 83 | + public $support_skype = ''; | |
| 79 | 84 | /** |
| 80 | - * @var string Support skype username. | |
| 81 | - */ | |
| 82 | - public $support_skype; | |
| 83 | - /** | |
| 84 | 85 | * @var bool Is personal success manager supported with the plan. |
| 85 | 86 | */ |
| 86 | 87 | public $is_success_manager; |
| 87 | 88 | /** |
| @@ -87,8 +88,20 @@ | ||
| 87 | 88 | /** |
| 88 | 89 | * @var bool Is featured plan. |
| 89 | 90 | */ |
| 90 | 91 | public $is_featured; |
| 92 | + /** | |
| 93 | + * @var bool Is hidden plan. | |
| 94 | + */ | |
| 95 | + public $is_hidden; | |
| 96 | + /** | |
| 97 | + * @var FS_Pricing[] | |
| 98 | + */ | |
| 99 | + public $pricing; | |
| 100 | + /** | |
| 101 | + * @var object[] | |
| 102 | + */ | |
| 103 | + public $features; | |
| 91 | 104 | |
| 92 | 105 | #endregion Properties |
| 93 | 106 | |
| 94 | 107 | /** |
| @@ -125,9 +138,8 @@ | ||
| 125 | 138 | * @return bool |
| 126 | 139 | */ |
| 127 | 140 | function has_technical_support() { |
| 128 | 141 | return ( ! empty( $this->support_email ) || |
| 129 | - ! empty( $this->support_skype ) || | |
| 130 | 142 | ! empty( $this->support_phone ) || |
| 131 | 143 | ! empty( $this->is_success_manager ) |
| 132 | 144 | ); |
| 133 | 145 | } |