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