Walker::start_lvl( string $output, int $depth, array $args = array() )
Starts the list before the elements are added.
Description 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 Parameters
- $output
-
(string) (Required) Used to append additional content (passed by reference).
- $depth
-
(int) (Required) Depth of the item.
- $args
-
(array) (Optional) An array of additional arguments.
Default value: array()
Source Source
File: wp-includes/class-wp-walker.php
public function start_lvl( &$output, $depth = 0, $args = array() ) {}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
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.