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

Starts the list before the elements are added.

Parameters Parameters


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


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


(array) (Optional) An array of arguments.

Default value: array()

Source 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";

Top ↑

Changelog Changelog

Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.