| @@ -83,12 +83,8 @@ | ||
| 83 | 83 | public function is_reload_preview_required() { |
| 84 | 84 | return true; |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | - public function has_widget_inner_wrapper(): bool { | |
| 88 | - return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ); | |
| 89 | - } | |
| 90 | - | |
| 91 | 87 | /** |
| 92 | 88 | * Register shortcode widget controls. |
| 93 | 89 | * |
| 94 | 90 | * Adds different input fields to allow the user to change and customize the widget settings. |
| @@ -165,15 +161,5 @@ | ||
| 165 | 161 | * @since 2.9.0 |
| 166 | 162 | * @access protected |
| 167 | 163 | */ |
| 168 | 164 | protected function content_template() {} |
| 169 | - | |
| 170 | - public function render_markdown(): string { | |
| 171 | - $settings = $this->get_settings_for_display(); | |
| 172 | - $shortcode = $settings['shortcode'] ?? ''; | |
| 173 | - if ( empty( $shortcode ) ) { | |
| 174 | - return ''; | |
| 175 | - } | |
| 176 | - $output = do_shortcode( $shortcode ); | |
| 177 | - return Utils::html_to_plain_text( $output ); | |
| 178 | - } | |
| 179 | 165 | } |