inc/helpers/foodmenu.php
@@ -4,7 +4,7 @@ use JVBase\base\Options; use JVBase\meta\Meta; function aneb_menu_sections():array function jvb_menu_sections():array { $sections = Options::get('menu_section_order'); if (empty($sections)) { @@ -24,6 +24,9 @@ ]); if (!empty($terms) && !is_wp_error($terms)) { foreach ($terms as $term) { if ($term->name === 'Uncategorized') { continue; } $sections[] = [ 'id' => $term->term_id, 'name' => $term->name,