PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.7
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.7
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/FrmSettings.php +12 -1 6.46.7 View file →
@@ -41,9 +41,13 @@
41 41 public $no_ips;
42 42 public $custom_header_ip;
43 43 public $current_form = 0;
44 44 public $tracking;
45 + public $summary_emails;
46 + public $summary_emails_recipients;
45 47
48 + public $currency;
49 +
46 50 /**
47 51 * @since 6.0
48 52 *
49 53 * @var string|false|null
@@ -125,8 +129,10 @@
125 129 'email_to' => '[admin_email]',
126 130 'no_ips' => 0,
127 131 'custom_header_ip' => false, // Use false by default. We show a warning when this is unset. Once global settings have been saved, this gets saved
128 132 'tracking' => FrmAppHelper::pro_is_installed(),
133 + 'summary_emails' => 1,
134 + 'summary_emails_recipients' => '[admin_email]',
129 135
130 136 // Normally custom CSS is a string. A false value is used when nothing has been set.
131 137 // When it is false, we try to use the old custom_key value from the default style's post_content array.
132 138 'custom_css' => false,
@@ -162,8 +168,12 @@
162 168 if ( ! isset( $this->$frm_role ) ) {
163 169 $this->$frm_role = 'administrator';
164 170 }
165 171 }
172 +
173 + if ( ! isset( $this->currency ) ) {
174 + $this->currency = 'USD';
175 + }
166 176 }
167 177
168 178 /**
169 179 * @param array $params
@@ -348,10 +358,11 @@
348 358 $this->re_lang = $params['frm_re_lang'];
349 359 $this->re_threshold = floatval( $params['frm_re_threshold'] );
350 360 $this->load_style = $params['frm_load_style'];
351 361 $this->custom_css = $params['frm_custom_css'];
362 + $this->currency = $params['frm_currency'];
352 363
353 - $checkboxes = array( 'mu_menu', 're_multi', 'use_html', 'jquery_css', 'accordion_js', 'fade_form', 'no_ips', 'custom_header_ip', 'tracking', 'admin_bar' );
364 + $checkboxes = array( 'mu_menu', 're_multi', 'use_html', 'jquery_css', 'accordion_js', 'fade_form', 'no_ips', 'custom_header_ip', 'tracking', 'admin_bar', 'summary_emails' );
354 365 foreach ( $checkboxes as $set ) {
355 366 $this->$set = isset( $params[ 'frm_' . $set ] ) ? absint( $params[ 'frm_' . $set ] ) : 0;
356 367 }
357 368 }