PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.0-dev4
Elementor Website Builder – more than just a page builder v4.0.0-dev4
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | modules/atomic-widgets/elements/base/widget-builder.php +0 -10 4.2.34.0.0-dev4 View file →
@@ -6,9 +6,8 @@
6 6 protected $widget_type;
7 7 protected $settings = [];
8 8 protected $is_locked = false;
9 9 protected $editor_settings = [];
10 - protected $meta = [];
11 10
12 11 public static function make( string $widget_type ) {
13 12 return new self( $widget_type );
14 13 }
@@ -31,13 +30,8 @@
31 30 $this->editor_settings = $editor_settings;
32 31 return $this;
33 32 }
34 33
35 - public function meta( array $meta ) {
36 - $this->meta = $meta;
37 - return $this;
38 - }
39 -
40 34 public function build() {
41 35 $widget_data = [
42 36 'elType' => 'widget',
43 37 'widgetType' => $this->widget_type,
@@ -44,12 +38,8 @@
44 38 'settings' => $this->settings,
45 39 'isLocked' => $this->is_locked,
46 40 'editor_settings' => $this->editor_settings,
47 41 ];
48 -
49 - if ( ! empty( $this->meta ) ) {
50 - $widget_data['meta'] = $this->meta;
51 - }
52 42
53 43 return $widget_data;
54 44 }
55 45 }