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

Starts the list before the elements are added.

Description

Parameters

$output

(Required) Passed by reference. Used to append additional content.

$depth

(Required) Depth of category. Used for tab indentation.

$args

(Optional) An array of arguments.

Default value: array()

Source

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

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

Changelog

Changelog
Version Description
BuddyPress 2.5.0 Introduced.

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.