PluginProbe
Elementor Website Builder – more than just a page builder / 3.23.0-dev3
Elementor Website Builder – more than just a page builder v3.23.0-dev3
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 4.0.7 All 451 releases
← All changes | includes/widgets/audio.php +1 -13 4.2.43.23.0-dev3 View file →
@@ -84,12 +84,8 @@
84 84 protected function is_dynamic_content(): bool {
85 85 return false;
86 86 }
87 87
88 - public function has_widget_inner_wrapper(): bool {
89 - return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' );
90 - }
91 -
92 88 /**
93 89 * Register audio widget controls.
94 90 *
95 91 * Adds different input fields to allow the user to change and customize the widget settings.
@@ -253,8 +249,9 @@
253 249 ]
254 250 );
255 251
256 252 $this->end_controls_section();
253 +
257 254 }
258 255
259 256 /**
260 257 * Render audio widget output on the frontend.
@@ -341,14 +338,5 @@
341 338 * @since 2.9.0
342 339 * @access protected
343 340 */
344 341 protected function content_template() {}
345 -
346 - public function render_markdown(): string {
347 - $settings = $this->get_settings_for_display();
348 - $url = $settings['link']['url'] ?? '';
349 - if ( empty( $url ) ) {
350 - return '';
351 - }
352 - return '[Audio](' . esc_url( $url ) . ')';
353 - }
354 342 }