Astra_Custom_Nav_Walker::end_lvl( string $output, int $depth, array $args = array() )
Ends the list of after the elements are added.
Description
Parameters
- $output
-
(string) (Required) Passed by reference. Used to append additional content.
- $depth
-
(int) (Required) Depth of menu item. Used for padding.
- $args
-
(array) (Optional) An array of arguments. @see wp_nav_menu().
Default value: array()
Source
File: addons/nav-menu/classes/class-astra-custom-nav-walker.php
public function end_lvl( &$output, $depth = 0, $args = array() ) { $indent = str_repeat( "\t", $depth ); $output .= "$indent</ul>\n"; }
Expand full source code Collapse full source code View on Trac