Astra_Custom_Nav_Walker::end_el( string $output, object $item, int $depth, array $args = array() )
Modified the menu end.
Description
Parameters
- $output
-
(string) (Required) Passed by reference. Used to append additional content.
- $item
-
(object) (Required) Menu item data object.
- $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_el( &$output, $item, $depth = 0, $args = array() ) { // </li> output. $output .= '</li>'; }
Expand full source code Collapse full source code View on Trac