Starts the list before the elements are added.
Description
The $args parameter holds additional values that may be used with the child class methods. This method is called at the start of the output list.
Parameters
$outputstringrequired- Used to append additional content (passed by reference).
$depthintrequired- Depth of the item.
$argsarrayoptional- An array of additional arguments.
Default:
array()
Source
public function start_lvl( &$output, $depth = 0, $args = array() ) {}
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
The start level refers to the start of a sub-level. Mening that the output does not effect the initial
wrapping around the whole navigation, but only the list of childerns children.