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

bootstrap_menu()

Returns a specified, formatted, bootstrap menu.

Copy to Clipboard

Parameters

$location

Which menu to return

$nav_css_class

Any classes to add to the nav tag

$can_separate

Whether to separate the nav into just the nav & toggle or not (default true)

$skip_items

Any items to skip

$nav_brand

A menu item to link to to home, can be text, icon or image

Return

The HTML of the menu or an array of the menu and the burger icon.

Copy to Clipboard