WordPress at Your Fingertips
function is not described

Walker_Category_Checklist::start_lvl() public WP 2.5.1

Starts the list before the elements are added.

{} It's a method of the class: Walker_Category_Checklist{}

No Hooks.

Return

null. Nothing.

Usage

$Walker_Category_Checklist = new Walker_Category_Checklist();
$Walker_Category_Checklist->start_lvl( $output, $depth, $args );
$output(string) (required) (passed by reference — &)
Used to append additional content (passed by reference).
$depth(int)
Depth of category. Used for tab indentation.
$args(array)
An array of arguments. @see wp_terms_checklist()
Default: array()

Notes

  • See: Walker:start_lvl()

Changelog

Since 2.5.1 Introduced.

Code of Walker_Category_Checklist::start_lvl() WP 5.8.2

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