PluginProbe
MaxButtons – Create buttons / 6.28
MaxButtons – Create buttons v6.28
6.23 6.24 6.25 6.26 6.26.1 6.27 6.28 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.1.1 7.1.2 7.1.3 7.10 7.11 7.13 7.13.1 7.13.2 7.13.3 All 100 releases
← All changes | classes/field.php +4 -6 7.116.28 View file →
@@ -18,11 +18,8 @@
18 18 public $note;
19 19 public $label;
20 20 public $title;
21 21 public $default;
22 - public $help;
23 - public $error;
24 - public $warning;
25 22
26 23 // Specific options */
27 24 public $placeholder = ''; // text / textarea
28 25 public $icon; // checkbox-icon
@@ -44,12 +41,13 @@
44 41
45 42 //public
46 43
47 44
45 +
48 46 /* Template */
49 47 public $template;
50 48 public $main_class = 'option'; // row class - start template
51 - public $esc_function = 'esc_attr'; // escape function to run over the value
49 + public $esc_function = 'esc_attr';
52 50
53 51 /* Publish brake */
54 52 public $publish = true;
55 53 public $output = '';
@@ -99,9 +97,9 @@
99 97 $output .= simpleTemplate::parse($start_tpl['path'], $this);
100 98 }
101 99
102 100 $template = self::$templates[$this->template]; // template name;
103 - //do_action('mb/editor/before-field-' . $this->id, $this);
101 + do_action('mb/editor/before-field-' . $this->id, $this);
104 102
105 103 $output .= simpleTemplate::parse($template['path'], $this);
106 104
107 105
@@ -118,9 +116,9 @@
118 116 }
119 117
120 118 if ($this->publish)
121 119 echo $output;
122 - //do_action('mb/editor/after-field-'. $this->id); // hook for extra fields.
120 + do_action('mb/editor/after-field-'. $this->id); // hook for extra fields.
123 121
124 122 $this->output = $output;
125 123 return $output;
126 124 }