pods_nav_array
(Since 1.8.3) -- generate an array of menu items
function pods_nav_array($uri = '<root>', $max_depth = 1)
This function generates an array of menu items. It uses the structure from the Menu Editor. This function is required by pods_navigation().
Parameters
| Parameter | Type | Details |
|---|---|---|
| $uri | STRING | The URI to use as a starting point. Default: <root> |
| $max_depth | INT | (optional) the maximum number of levels to traverse. default = 1, unlimited = 0 |
