PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.23
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.23
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/FrmFormTemplateApi.php +0 -33 6.286.23 View file →
@@ -4,21 +4,12 @@
4 4 }
5 5
6 6 class FrmFormTemplateApi extends FrmFormApi {
7 7
8 - /**
9 - * @var string
10 - */
11 8 protected static $code_option_name = 'frm_free_license_code';
12 9
13 - /**
14 - * @var string
15 - */
16 10 private static $base_api_url = 'https://formidableforms.com/wp-json/form-templates/v1/';
17 11
18 - /**
19 - * @var string|null
20 - */
21 12 protected static $free_license;
22 13
23 14 /**
24 15 * @var int
@@ -66,32 +57,8 @@
66 57 * @return string[]
67 58 */
68 59 protected function skip_categories() {
69 60 return array();
70 - }
71 -
72 - /**
73 - * Set the free license code option value.
74 - *
75 - * @since 6.25
76 - *
77 - * @param string $code The license code to set.
78 - *
79 - * @return void
80 - */
81 - public static function set_free_license_code( $code ) {
82 - update_option( self::$code_option_name, $code, false );
83 - }
84 -
85 - /**
86 - * Get the free license code option value.
87 - *
88 - * @since 6.25
89 - *
90 - * @return false|string The license code, or false if not set.
91 - */
92 - public static function get_free_license_code() {
93 - return get_option( self::$code_option_name );
94 61 }
95 62
96 63 /**
97 64 * AJAX Hook for signing free users up for a template API key