PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 4.01.02
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v4.01.02
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/fields/FrmFieldHTML.php +1 -16 6.4.14.01.02 View file →
@@ -1,8 +1,5 @@
1 1 <?php
2 -if ( ! defined( 'ABSPATH' ) ) {
3 - die( 'You are not allowed to call this page directly.' );
4 -}
5 2
6 3 /**
7 4 * @since 3.0
8 5 */
@@ -21,23 +18,17 @@
21 18 protected $has_input = false;
22 19
23 20 /**
24 21 * @since 4.0
25 - *
26 22 * @param array $args - Includes 'field', 'display', and 'values'
27 - *
28 - * @return void
29 23 */
30 24 public function show_primary_options( $args ) {
31 25 $field = $args['field'];
32 - include FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/html-content.php';
26 + include( FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/html-content.php' );
33 27
34 28 parent::show_primary_options( $args );
35 29 }
36 30
37 - /**
38 - * @return string
39 - */
40 31 public function default_html() {
41 32 return '<div id="frm_field_[id]_container" class="frm_form_field form-field">[description]</div>';
42 33 }
43 34
@@ -54,18 +45,12 @@
54 45
55 46 return $html;
56 47 }
57 48
58 - /**
59 - * @return string
60 - */
61 49 public function get_container_class() {
62 50 return ' frm_html_container';
63 51 }
64 52
65 - /**
66 - * @return string
67 - */
68 53 protected function include_form_builder_file() {
69 54 return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/field-html.php';
70 55 }
71 56 }