Walker_Nav_Menu_Edit::end_lvl()publicWP 3.0.0

Ends the list of after the elements are added.

Method of the class: Walker_Nav_Menu_Edit{}

No Hooks.

Return

null. Nothing (null).

Usage

$Walker_Nav_Menu_Edit = new Walker_Nav_Menu_Edit();
$Walker_Nav_Menu_Edit->end_lvl( $output, $depth, $args );
$output(string) (required) (passed by reference — &)
Passed by reference.
$depth(int)
Depth of menu item. Used for padding.
$args(stdClass)
Not used.
Default: null

Notes

Changelog

Since 3.0.0 Introduced.

Walker_Nav_Menu_Edit::end_lvl() code WP 6.6.2

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