PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/FrmApplicationApi.php +8 -3 6.4.2 → trunk View file →
@@ -8,18 +8,23 @@
8 8 */
9 9 class FrmApplicationApi extends FrmFormApi {
10 10
11 11 /**
12 - * @var string $base_api_url
12 + * @var string
13 13 */
14 14 private static $base_api_url = 'https://formidableforms.com/wp-json/view-templates/v1/list';
15 15
16 16 /**
17 - * @var int $new_days
17 + * @var int
18 18 */
19 19 protected $new_days = 60;
20 20
21 21 /**
22 + * @var string
23 + */
24 + protected $cache_timeout = '+12 hours';
25 +
26 + /**
22 27 * @return string
23 28 */
24 29 protected function api_url() {
25 30 return self::$base_api_url;
@@ -28,7 +33,7 @@
28 33 /**
29 34 * @return void
30 35 */
31 36 protected function set_cache_key() {
32 - $this->cache_key = 'frm_applications_l' . ( empty( $this->license ) ? '' : md5( $this->license ) );
37 + $this->cache_key = 'frm_applications_l' . ( ! empty( $this->license ) ? md5( $this->license ) : '' );
33 38 }
34 39 }