Walker_Category_Checklist::start_lvl()

最后更新于:2021-11-26 06:04:20

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

Starts the list before the elements are added.

参数

$output

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

$depth

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

$args

(array) (Optional) An array of arguments. @see gc_terms_checklist()

Default value: array()

源文件

文件: gc-admin/includes/class-walker-category-checklist.php

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