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
$output
stringrequired- Used to append additional content (passed by reference).
$depth
intrequired- Depth of the item.
$args
arrayoptional- 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.