1. Home
  2. Docs
  3. Function Reference
  4. Classes
  5. Frontend
  6. MVC Front Cross Site
  7. loop_menu()

loop_menu()

Returns a specified, formatted, bootstrap menu.

Copy to Clipboard

Parameters

$menu_item

The menu item

$menus

The full menu array

$location

The menu being returned

$submenu_css_class

The class for the submenu (not including the bootstrap defaults)

$level

 What “level” the item is on

Return

The HTML of the menu