BP_Walker_Nav_Menu_Checklist::end_lvl( string $output, int $depth, array $args = array() )
Create the markup to end a tree level.
Description
See also
- Walker_Nav_Menu::end_lvl(): for description of parameters.
Parameters
- $output
-
(Required) See {@Walker_Nav_Menu::end_lvl()}.
- $depth
-
(Required) See {@Walker_Nav_Menu::end_lvl()}.
- $args
-
(Optional) See {@Walker_Nav_Menu::end_lvl()}.
Default value: array()
Source
File: bp-core/classes/class-bp-walker-nav-menu-checklist.php
public function end_lvl( &$output, $depth = 0, $args = array() ) { $indent = str_repeat( "\t", $depth ); $output .= "\n$indent</ul>"; }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.