| @@ -88,12 +88,8 @@ | ||
| 88 | 88 | public function get_style_depends(): array { |
| 89 | 89 | return [ 'widget-menu-anchor' ]; |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | - public function has_widget_inner_wrapper(): bool { | |
| 93 | - return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ); | |
| 94 | - } | |
| 95 | - | |
| 96 | 92 | /** |
| 97 | 93 | * Register menu anchor widget controls. |
| 98 | 94 | * |
| 99 | 95 | * Adds different input fields to allow the user to change and customize the widget settings. |
| @@ -193,12 +189,8 @@ | ||
| 193 | 189 | ); |
| 194 | 190 | #> |
| 195 | 191 | <div {{{ view.getRenderAttributeString( 'inner' ) }}}></div> |
| 196 | 192 | <?php |
| 197 | - } | |
| 198 | - | |
| 199 | - public function render_markdown(): string { | |
| 200 | - return ''; | |
| 201 | 193 | } |
| 202 | 194 | |
| 203 | 195 | protected function on_save( array $settings ) { |
| 204 | 196 | $settings['anchor'] = sanitize_html_class( $settings['anchor'] ); |