PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.16.1.2
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.16.1.2
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 +7 -16 6.266.16.1.2 View file →
@@ -2,9 +2,8 @@
2 2 /**
3 3 * On Submit form action
4 4 *
5 5 * @package Formidable
6 - *
7 6 * @since 6.0
8 7 */
9 8
10 9 if ( ! defined( 'ABSPATH' ) ) {
@@ -12,11 +11,8 @@
12 11 }
13 12
14 13 class FrmOnSubmitAction extends FrmFormAction {
15 14
16 - /**
17 - * @var string
18 - */
19 15 public static $slug = 'on_submit';
20 16
21 17 public function __construct() {
22 18 $action_ops = array(
@@ -42,10 +38,9 @@
42 38 return __( 'Confirmation', 'formidable' );
43 39 }
44 40
45 41 /**
46 - * @param object $instance
47 - * @param array $args
42 + * @return void
48 43 */
49 44 public function form( $instance, $args = array() ) {
50 45 include FrmAppHelper::plugin_path() . '/classes/views/frm-form-actions/on_submit_settings.php';
51 46 }
@@ -51,18 +46,14 @@
51 46 }
52 47
53 48 public function get_defaults() {
54 49 return array(
55 - 'success_action' => FrmOnSubmitHelper::get_default_action_type(),
56 - 'success_msg' => FrmOnSubmitHelper::get_default_msg(),
57 - 'show_form' => '',
58 - 'success_url' => '',
59 - 'success_page_id' => '',
60 - 'open_in_new_tab' => '',
61 - 'redirect_delay' => '',
62 - // Value in second.
63 - 'redirect_delay_time' => 8,
64 - 'redirect_delay_msg' => FrmOnSubmitHelper::get_default_redirect_msg(),
50 + 'success_action' => FrmOnSubmitHelper::get_default_action_type(),
51 + 'success_msg' => FrmOnSubmitHelper::get_default_msg(),
52 + 'show_form' => '',
53 + 'success_url' => '',
54 + 'success_page_id' => '',
55 + 'open_in_new_tab' => '',
65 56 );
66 57 }
67 58
68 59 /**