Open benjaminpick opened 9 years ago
We need to get the menu_items by using wp_nav_menu because the current menu item logic is executed after wp_get_nav_menu_items.
wp_nav_menu
wp_get_nav_menu_items
Current object variable kept for backwards compat as it is public.
If you like you could also remove menu_items completely ...
We need to get the menu_items by using
wp_nav_menu
because the current menu item logic is executed afterwp_get_nav_menu_items
.Current object variable kept for backwards compat as it is public.