PluginProbe
Elementor Website Builder – more than just a page builder / 3.11.2
Elementor Website Builder – more than just a page builder v3.11.2
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/nested-elements/base/widget-nested-base.php +0 -27 4.3.0-beta33.11.2 View file →
@@ -12,12 +12,8 @@
12 12 * Used to create a new widget that can be nested inside other widgets.
13 13 */
14 14 abstract class Widget_Nested_Base extends Widget_Base {
15 15
16 - public function render_markdown(): string {
17 - return \Elementor\Element_Base::render_markdown();
18 - }
19 -
20 16 /**
21 17 * Get default children elements structure.
22 18 *
23 19 * @return array
@@ -45,9 +41,8 @@
45 41 * ],
46 42 * @return string
47 43 */
48 44 protected function get_default_children_title() {
49 - /* translators: %d: Item index. */
50 45 return esc_html__( 'Item #%d', 'elementor' );
51 46 }
52 47
53 48 /**
@@ -58,16 +53,8 @@
58 53 protected function get_default_children_placeholder_selector() {
59 54 return '';
60 55 }
61 56
62 - protected function get_default_children_container_placeholder_selector() {
63 - return '';
64 - }
65 -
66 - protected function is_dynamic_content(): bool {
67 - return false;
68 - }
69 -
70 57 /**
71 58 * @inheritDoc
72 59 *
73 60 * To support nesting.
@@ -86,9 +73,8 @@
86 73 'defaults' => [
87 74 'elements' => $this->get_default_children_elements(),
88 75 'elements_title' => $this->get_default_children_title(),
89 76 'elements_placeholder_selector' => $this->get_default_children_placeholder_selector(),
90 - 'child_container_placeholder_selector' => $this->get_default_children_container_placeholder_selector(),
91 77 'repeater_title_setting' => $this->get_default_repeater_title_setting_key(),
92 78 ],
93 79 'support_nesting' => true,
94 80 ] );
@@ -129,20 +115,7 @@
129 115 $children = $this->get_children();
130 116
131 117 if ( ! empty( $children[ $index ] ) ) {
132 118 $children[ $index ]->print_element();
133 - }
134 - }
135 -
136 - protected function content_template_single_repeater_item() {}
137 -
138 - public function print_template() {
139 - parent::print_template();
140 - if ( $this->get_initial_config()['support_improved_repeaters'] ?? false ) {
141 - ?>
142 - <script type="text/html" id="tmpl-elementor-<?php echo esc_attr( $this->get_name() ); ?>-content-single">
143 - <?php $this->content_template_single_repeater_item(); ?>
144 - </script>
145 - <?php
146 119 }
147 120 }
148 121 }