BP_Walker_Nav_Menu_Checklist::start_lvl( string $output, int $depth, array $args = array() )

Create the markup to start a tree level.

Description

See also

Parameters

$output

(Required) See {@Walker_Nav_Menu::start_lvl()}.

$depth

(Required) See {@Walker_Nav_Menu::start_lvl()}.

$args

(Optional) See {@Walker_Nav_Menu::start_lvl()}.

Default value: array()

Source

File: bp-core/classes/class-bp-walker-nav-menu-checklist.php

	public function start_lvl( &$output, $depth = 0, $args = array() ) {
		$indent = str_repeat( "\t", $depth );
		$output .= "\n$indent<ul class='children'>\n";
	}

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.