Walker_Nav_Menu_Checklist::end_lvl()

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

Walker_Nav_Menu_Checklist::end_lvl( string$output, int$depth, stdClass$args=null)

Ends the list of after the elements are added.

参数

$output

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

$depth

(int) (Required) Depth of page. Used for padding.

$args

(stdClass) (Optional) Not used.

Default value: null

源文件

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

	public function end_lvl( &$output, $depth = 0, $args = null ) {
		$indent  = str_repeat( "t", $depth );
		$output .= "n$indent</ul>";
	}