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