WordPress at Your Fingertips
function is not described

Walker_Nav_Menu_Checklist::end_lvl() public WP 3.0.0

Ends the list of after the elements are added.

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

No Hooks.

Return

null. Nothing.

Usage

$Walker_Nav_Menu_Checklist = new Walker_Nav_Menu_Checklist();
$Walker_Nav_Menu_Checklist->end_lvl( $output, $depth, $args );
$output(string) (required) (passed by reference — &)
Used to append additional content (passed by reference).
$depth(int)
Depth of page. Used for padding.
$args(stdClass)
Not used.
Default: null

Notes

Changelog

Since 3.0.0 Introduced.

Code of Walker_Nav_Menu_Checklist::end_lvl() WP 5.8.2

public function end_lvl( &$output, $depth = 0, $args = null ) {
	$indent  = str_repeat( "\t", $depth );
	$output .= "\n$indent</ul>";
}