← All changes
|
vendor/hostinger/hostinger-wp-menu-manager/src/Menus.php
+3
-8
3.0.73
→
trunk
View file →
| @@ -150,17 +150,12 @@ | ||
| 150 | 150 | * @return void |
| 151 | 151 | */ |
| 152 | 152 | public static function renderMenuNavigation(): string |
| 153 | 153 | { |
| 154 | - ob_start(); | |
| 154 | + // Old menu navigation removed. | |
| 155 | + // Should cleanup this function in later versions. | |
| 155 | 156 | |
| 156 | - require_once __DIR__ . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'menu.php'; | |
| 157 | - | |
| 158 | - $content = ob_get_contents(); | |
| 159 | - | |
| 160 | - ob_end_clean(); | |
| 161 | - | |
| 162 | - return $content; | |
| 157 | + return ''; | |
| 163 | 158 | } |
| 164 | 159 | |
| 165 | 160 | /** |
| 166 | 161 | * @return array |