Walker::end_lvl( string $output, int $depth, array $args = array() )

Ends the list of after the elements are added.


Description Description

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.


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()


Top ↑

Source Source

File: wp-includes/class-wp-walker.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.