| @@ -30,10 +30,8 @@ | ||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @param array<string> $keys |
| 33 | 33 | * @param array<string> $keys_with_images |
| 34 | - * | |
| 35 | - * @return void | |
| 36 | 34 | */ |
| 37 | 35 | public static function init() { |
| 38 | 36 | /** |
| 39 | 37 | * @since 5.3 |
| @@ -158,14 +156,11 @@ | ||
| 158 | 156 | if ( false !== $purchase_url ) { |
| 159 | 157 | $application['forPurchase'] = true; |
| 160 | 158 | } |
| 161 | 159 | $application['upgradeUrl'] = $this->get_admin_upgrade_link(); |
| 162 | - $application['requires'] = FrmFormsHelper::get_plan_required( $application ); | |
| 163 | 160 | $application['link'] = $application['upgradeUrl']; |
| 164 | 161 | } |
| 165 | 162 | |
| 166 | - $application['isNew'] = $this->is_new(); | |
| 167 | - | |
| 168 | 163 | return $application; |
| 169 | 164 | } |
| 170 | 165 | |
| 171 | 166 | /** |
| @@ -198,19 +193,8 @@ | ||
| 198 | 193 | return false; |
| 199 | 194 | } |
| 200 | 195 | |
| 201 | 196 | return true; |
| 202 | - } | |
| 203 | - | |
| 204 | - /** | |
| 205 | - * Check if an application template is new. If it is, we include a "NEW" pill beside the title. | |
| 206 | - * | |
| 207 | - * @since 6.0 | |
| 208 | - * | |
| 209 | - * @return bool | |
| 210 | - */ | |
| 211 | - private function is_new() { | |
| 212 | - return ! empty( $this->api_data['is_new'] ); | |
| 213 | 197 | } |
| 214 | 198 | |
| 215 | 199 | /** |
| 216 | 200 | * @return string |