Walker::start_lvl( string $output, int $depth, array $args = array() )
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
-
(Required) Used to append additional content (passed by reference).
- $depth
-
(Required) Depth of the item.
- $args
-
(Optional) An array of additional arguments.
Default value: array()
Source
File: wp-includes/class-wp-walker.php
public function start_lvl( &$output, $depth = 0, $args = array() ) {}
Changelog
Version | Description |
---|---|
WP-2.1.0 | Introduced. |