| @@ -216,9 +216,8 @@ | ||
| 216 | 216 | $types = templately()->theme_builder::$templates_manager->get_template_types(); |
| 217 | 217 | |
| 218 | 218 | $template_types = []; |
| 219 | 219 | $status_args = [ 'post_type' => 'templately_library' ]; |
| 220 | - $has_revert = FullSiteImport::has_revert(); | |
| 221 | 220 | |
| 222 | 221 | $template_types['all'] = [ |
| 223 | 222 | 'url' => add_query_arg( $status_args, 'edit.php' ), |
| 224 | 223 | 'label' => __( 'All', 'templately' ) |
| @@ -235,15 +234,9 @@ | ||
| 235 | 234 | 'label' => call_user_func( [ $type, 'get_title' ] ) |
| 236 | 235 | ]; |
| 237 | 236 | } |
| 238 | 237 | |
| 239 | - $status_args['type'] = 'settings'; | |
| 240 | - $template_types['settings'] = [ | |
| 241 | - 'url' => add_query_arg( $status_args, 'edit.php' ), | |
| 242 | - 'label' => __( 'Miscellaneous', 'templately' ) | |
| 243 | - ]; | |
| 244 | - | |
| 245 | - $this->builder::$views->get( 'builder/tabs', [ 'tabs' => $tabs, 'template_types' => $template_types, 'has_revert' => $has_revert ] ); | |
| 238 | + $this->builder::$views->get( 'builder/tabs', [ 'tabs' => $tabs, 'template_types' => $template_types ] ); | |
| 246 | 239 | return []; |
| 247 | 240 | } |
| 248 | 241 | |
| 249 | 242 | /** |