PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.16.1
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.16.1
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/FrmOnSubmitAction.php +10 -9 6.36.16.1 View file →
@@ -15,15 +15,15 @@
15 15 public static $slug = 'on_submit';
16 16
17 17 public function __construct() {
18 18 $action_ops = array(
19 - 'classes' => 'frm_icon_font frm_checkmark_icon',
20 - 'active' => true,
21 - 'event' => array( 'create' ),
22 - 'limit' => 99,
23 - 'priority' => 9,
24 - 'color' => 'rgb(66, 193, 178)',
25 - 'keywords' => __( 'redirect, success, confirmation, submit', 'formidable' ),
19 + 'classes' => 'frm_icon_font frm_checkmark_icon',
20 + 'active' => true,
21 + 'event' => array( 'create' ),
22 + 'limit' => 99,
23 + 'priority' => 9,
24 + 'color' => 'rgb(66, 193, 178)',
25 + 'keywords' => __( 'redirect, success, confirmation, submit', 'formidable' ),
26 26 );
27 27 $action_ops = apply_filters( 'frm_' . self::$slug . '_control_settings', $action_ops );
28 28
29 29 $this->maybe_save_edit_trigger( $action_ops );
@@ -51,8 +51,9 @@
51 51 'success_msg' => FrmOnSubmitHelper::get_default_msg(),
52 52 'show_form' => '',
53 53 'success_url' => '',
54 54 'success_page_id' => '',
55 + 'open_in_new_tab' => '',
55 56 );
56 57 }
57 58
58 59 /**
@@ -59,10 +60,10 @@
59 60 * This function should check that $new_instance is set correctly.
60 61 * The newly calculated value of $instance should be returned.
61 62 * If "false" is returned, the instance won't be saved/updated.
62 63 *
63 - * @param array $new_instance New settings for this instance as input by the user via form()
64 - * @param array $old_instance Old settings for this instance
64 + * @param array $new_instance New settings for this instance as input by the user via form().
65 + * @param array $old_instance Old settings for this instance.
65 66 *
66 67 * @return array Settings to save or bool false to cancel saving
67 68 */
68 69 public function update( $new_instance, $old_instance ) {