Walker_Nav_Menu_Edit::end_lvl() WordPress Method
The Walker_Nav_Menu_Edit::end_lvl() is a method used in the WordPress nav menu system. This method is called when the end of a level is reached in the nav menu. The method takes two arguments, the first being the walker object and the second being the menu id.
Walker_Nav_Menu_Edit::end_lvl( string $output, int $depth, stdClass $args = null ) #
Ends the list of after the elements are added.
Description
See also
Parameters
- $output
- (string)(Required)Passed by reference. 
- $depth
- (int)(Required)Depth of menu item. Used for padding. 
- $args
- (stdClass)(Optional)Not used. - Default value: null 
Source
File: wp-admin/includes/class-walker-nav-menu-edit.php
	public function end_lvl( &$output, $depth = 0, $args = null ) {}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description | 
|---|---|
| 3.0.0 | Introduced. |