Walker::end_lvl()publicWP 2.1.0

Ends the list of after the elements are added.

The $args parameter holds additional values that may be used with the child class methods. This method finishes the list at the end of output of the elements.

{} It's a method of the class: Walker{}

No Hooks.


null. Nothing.


$Walker = new Walker();
$Walker->end_lvl( $output, $depth, $args );
$output(string) (required) (passed by reference — &)
Used to append additional content (passed by reference).
Depth of the item.
An array of additional arguments.
Default: array()


Since 2.1.0 Introduced.

Code of Walker::end_lvl() WP 6.0.2

public function end_lvl( &$output, $depth = 0, $args = array() ) {}