| @@ -253,8 +253,9 @@ | ||
| 253 | 253 | ] |
| 254 | 254 | ); |
| 255 | 255 | |
| 256 | 256 | $this->end_controls_section(); |
| 257 | + | |
| 257 | 258 | } |
| 258 | 259 | |
| 259 | 260 | /** |
| 260 | 261 | * Render audio widget output on the frontend. |
| @@ -341,14 +342,5 @@ | ||
| 341 | 342 | * @since 2.9.0 |
| 342 | 343 | * @access protected |
| 343 | 344 | */ |
| 344 | 345 | 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 | 346 | } |