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/FrmOnSubmitAction.php +2 -10 6.286.23 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,16 +11,13 @@
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(
23 - 'classes' => 'frmfont frm_checkmark_icon',
19 + 'classes' => 'frm_icon_font frm_checkmark_icon',
24 20 'active' => true,
25 21 'event' => array( 'create' ),
26 22 'limit' => 99,
27 23 'priority' => 9,
@@ -42,18 +38,14 @@
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 }
52 47
53 - /**
54 - * @return array
55 - */
56 48 public function get_defaults() {
57 49 return array(
58 50 'success_action' => FrmOnSubmitHelper::get_default_action_type(),
59 51 'success_msg' => FrmOnSubmitHelper::get_default_msg(),