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/FrmFormTemplateApi.php +12 -1 6.25.1 → trunk View file →
@@ -4,12 +4,21 @@
4 4 }
5 5
6 6 class FrmFormTemplateApi extends FrmFormApi {
7 7
8 + /**
9 + * @var string
10 + */
8 11 protected static $code_option_name = 'frm_free_license_code';
9 12
13 + /**
14 + * @var string
15 + */
10 16 private static $base_api_url = 'https://formidableforms.com/wp-json/form-templates/v1/';
11 17
18 + /**
19 + * @var string|null
20 + */
12 21 protected static $free_license;
13 22
14 23 /**
15 24 * @var int
@@ -65,11 +74,13 @@
65 74 *
66 75 * @since 6.25
67 76 *
68 77 * @param string $code The license code to set.
78 + *
79 + * @return void
69 80 */
70 81 public static function set_free_license_code( $code ) {
71 - update_option( self::$code_option_name, $code, 'no' );
82 + update_option( self::$code_option_name, $code, false );
72 83 }
73 84
74 85 /**
75 86 * Get the free license code option value.